captcha
A Lightweight Pure JavaScript Captcha for Node.js. No C/C++, No ImageMagick, No canvas. Inspired By rucaptcha.
Installation
$ npm install trek-captcha --save
Examples
'use strict' const fs = const captcha = { const token buffer = await // console.log(token, buffer) fs}
API
captcha({ size: 5, style: -1 })
- size: Defaults to 5.
- style: Defaults to -1 with random.
// returns token buffer