rCaptcha® | Human Verification
Used Packages: canvas
Installation
npm i --save rcaptcha
yarn add rcaptcha
Usage / Kullanım
import { Captcha } from 'rcaptcha';
const { Captcha } = require('rcaptcha')
const newCaptcha = new rCaptcha({
difficulty: "VERYHARD",
length: 10,
keywords: 'super-secret-keywords',
captcha: {
backgroundColor: '#296CBC',
textColor: '#fff',
strokeColor: '#00000',
backgroundImage: 'https://super-secret-image-url.com'
}
});
let response = await newCaptcha.generate();
console.log(response);
Developed with 💙 by Loiren
, Swôth
. (MIT)