Socket
Socket
Sign inDemoInstall

@saarbrooklynkid/two-captcha

Package Overview
Dependencies
4
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @saarbrooklynkid/two-captcha

two captcha api wrapper


Version published
0
Maintainers
1
Install size
509 kB
Created
Weekly downloads
 

Readme

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

Last updated on 09 Apr 2020

Did you know?

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc