Socket
Socket
Sign inDemoInstall

two-captcha

Package Overview
Dependencies
179
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    two-captcha

2Captcha API wrapper for Node.js


Version published
Weekly downloads
18
increased by28.57%
Maintainers
1
Install size
9.89 MB
Created
Weekly downloads
 

Readme

Source

Two-Captcha Wrapper

2Captcha JavaScript Wrapper

NPM version TRAVIS version

Prerequisites:

You will need a 2Captcha API key

Installation:

npm i two-captcha

Usage:

Set up your api key:


const TwoCaptcha = require('two-captcha')
const Captcha = new TwoCaptcha('your-api-key')

Get the ID of your task:

let id = Captcha.getId('method', 'googleKey', 'pageUrl')

Start a cycle that checks if your task is completed and get result:

let solve = Captcha.solve(id)

Keywords

FAQs

Last updated on 01 May 2019

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