draw-captcha/README.md

24 lines
614 B
Markdown

# draw-captcha
****
**draw-captcha** is module for generation simple captcha images.
## Installation
```bash
npm i draw-captcha
```
## Simple usage
```js
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](https://media.fullgream.tech/captcha-examples/1.jpg)
49uyc9o3
![scygvmic](https://media.fullgream.tech/captcha-examples/2.jpg)
scygvmic
![g4q3ppoh](https://media.fullgream.tech/captcha-examples/3.jpg)
g4q3ppoh