You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

captcha-generator-dynamic-v2

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

captcha-generator-dynamic-v2

An npm package to generate image-based CAPTCHAs encoded in Base64. This package uses the `jimp` library for image manipulation and `crypto` for generating random text.

1.0.0
latest
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

Image Captcha Generator

An npm package to generate image-based CAPTCHAs encoded in Base64. This package uses the jimp library for image manipulation and crypto for generating random text.

Installation

Install the package via npm:

npm install captcha-generator-dynamic-v2


## Usage

# For Example

const CaptchaGenerator = require("captcha-generator-dynamic-v2");

let width = 250;
let height = 200;
let length = 6;
const captcha = new CaptchaGenerator(width, height, length);

captcha.generateCaptcha((base64Image) => {
  console.log(base64Image);
});

FAQs

Package last updated on 29 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.