draw-captcha/README.md
2025-02-17 02:05:45 +03:00

620 B

draw-captcha


draw-captcha is module for generation simple captcha images.

Installation

npm i draw-captcha

Simple usage

const captcha = require("./");

const c = new captcha.MasterCaptcha(true);
c.setupRandomCaptcha("./here.jpg")
    .then(r => console.log("Code is", r.code))
    .catch(e => console.error(e));

Examples of generated captcha's images

49uyc9o3 49uyc9o3
scygvmic scygvmic
g4q3ppoh g4q3ppoh