easy-captcha tries to make integrating captcha into forms a simple and painless experience.
Installation
$ npm install easy-captcha
Features
- Fast generation of captcha image based off of CCAP using c++
- Middleware to check form submissions
- Configure number of allowed attemps
- Overide text generation function
Basic Example using express and express.session
var express = ;var captcha = ; //intiate appvar app = ; app; //sample form with the captcha image.//the default name for the captcha text is captchaapp; //use captcha.check as middleware to check the valid captcha resultapp; app;
Configuration Options
Thanks
easy-captcha is based on CCAP node module. Many thanks