Socket
Book a DemoInstallSign in
Socket

@saarbrooklynkid/two-captcha

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

@saarbrooklynkid/two-captcha

two captcha api wrapper

latest
Source
npmnpm
Version
0.0.1
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

@saarbrooklynkid/two-captcha

@saarbrooklynkid/two-captcha is a node two captcha api wrapper.

Installation

Use the package manager npm to install @saarbrooklynkid/two-captcha.

npm i @saarbrooklynkid/two-captcha

Example

const twoCaptcha=require("@saarbrooklynkid/two-captcha");
const twoCaptchaClient = new twoCaptcha({apiKey:APIKEY}); // optional: returnError BOOLEAN, timeout INT, intervall INT

async function hCap(){
	var captcha = await twoCaptchaClient.obtainHCaptcha({url:URL,sitekey:SITEKEY})
};
async function reCap(){
	var captcha = await twoCaptchaClient.obtainReCaptcha({url:URL,sitekey:SITEKEY}) // optional: Version STRING, proxy STRING, invisible BOOLEAN
};

License

ISC

FAQs

Package last updated on 09 Apr 2020

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