node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

simple-hard-captcha

simple hard captcha

npmjs

Get Started

Install

$ npm install simple-hard-captcha

Arial is a proprietary typeface to which Monotype Imaging owns all rights.

So please replace your authorized Arial Black font (in Windows, OS X or MS Office, etc.) with the static/ArialBlack file :)

Usage

var SHC = require('simple-hard-captcha');
 
var shc = new SHC();
shc.draw();
 
shc.result;      // get the result 
shc.toDataUrl(); // get base64 string of captcha image 

Demo

demo

License

WTFPL

@farteryhr

@quietshu

<3