1.0.11 • Published 11 months ago
captcha.gif v1.0.11
captcha.gif
A simple captcha generator for nodejs.
Description
A simple lightweight captcha generator for nodejs.
Read Full Documentation here.
Features
- Written In Typescript
- Offers CJS, ESM builds
- Full TypeScript & JavaScript support
Install
# npm
npm i captcha.gif
# yarn
yarn add captcha.gif
Usage
Note: While examples uses import
, it maps 1:1 with CommonJS' require syntax. For example, import { package } from 'package-name'
is the same as const { mahrin } = require('template')
.
import { Captcha } from 'captcha.gif';
Generate Captcha
import { Captcha } from 'captcha.gif';
const captcha = new Captcha();
const { token, buffer } = captcha.generate();
Contributors ✨
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!