bin/linux | ||
fonts | ||
licenses | ||
.gitignore | ||
here.jpg | ||
index.js | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
README.md | ||
test.js |
draw-captcha
draw-captcha is module for generation simple captcha images.
Installation
npm i draw-captcha
Simple usage
const captcha = require("draw-captcha");
const c = new captcha.MasterCaptcha(true);
c.setupRandomCaptcha("./here.jpg")
.then(r => console.log("Code is", r.code))
.catch(e => console.error(e));