1.1.4 • Published 8 months ago

@gravitybot/captcha v1.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

GravityBot Captcha

A simple npm package that will generate a random number in a captcha image for you!

Features

  • Based on canvas-constructor/skia
  • Easy to use
  • Medium difficulty against weak robots

Requirement

Installation

npm install @gravitybot/captcha

Example usage

Without number

const { Captcha } = require('@gravitybot/captcha');

(async () => {

    const captcha = await new Captcha().create();

    console.log(captcha); // This should return a random number

})();

With number

const { Captcha } = require('@gravitybot/captcha');

(async () => {

    const captcha = await new Captcha().create(1976);

    console.log(captcha); // This should return the entred number '1976'

})();
1.1.4

8 months ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago