Current collected state Current
Observed since 20 Oct, 19:08 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
<center> <h1> 2captcha </h1>
2captcha is a service that solves many different types of captchas, this library serves as a wrapper around their API to bring easy, promise-based functionality to NodeJS. This libary specilizes in concurrent solves, and bulk-api usage.
npm install 2captcha@next
yarn add 2captcha@next
Recaptcha,
const Captcha = require("2captcha")
// A new 'solver' instance with our API key
const solver = new Captcha.Solver("<Your 2captcha api key>")
/* Example ReCaptcha Website */
solver.recaptchaV2("6Ld2sf4SAAAAAKSgzs0Q13IZhY02Pyo31S2jgOB5", "https://patrickhlauke.github.io/recaptcha/")
.then((res) => {
console.log(res)
})
.catch((err) => {
console.error(err.message)
})
Image,
const Captcha = require("2captcha")
const fs = require("fs")
const solver = new Captcha.Solver("<Your 2captcha api key>")
// Read from a file as base64 text
solver.imageCaptcha(fs.readFileSync("./captcha.png", "base64"))
.then((res) => {
// Logs the image text
console.log(res)
})
.catch((err) => {
console.error(err.message)
})
Proxy,
const Captcha = require("2captcha")
const solver = new Captcha.Solver("<Your 2captcha api key>")
solver.recaptchaV2("6Ld2sf4SAAAAAKSgzs0Q13IZhY02Pyo31S2jgOB5", "https://patrickhlauke.github.io/recaptcha/", true /* for proxied */, false /* not enterprise */, {
proxy: "21.214.43.26", // The (Username : Password @ Address) of our chosen proxy
proxyType: "HTTP", // The 'Type' of proxy, http, https, socks, ect.
proxyLogin: "username",
proxyPassword: "password123"
})
.then((res) => {
console.log(res)
})
.catch((err) => {
console.error(err.message)
})
The latest version of the code base will always be under the 'next' branch!
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 2.1.5-2 | 19 Jan 2021 | 3 | |
| 2.1.5-1 | 29 Dec 2020 | 3 | |
| 2.1.5 | 29 Dec 2020 | 3 | |
| 2.1.4 | 28 Dec 2020 | 3 | |
| 2.1.3-2 | 20 Dec 2020 | 3 | |
| 2.1.3-1 | 11 Dec 2020 | 3 | |
| 2.1.3 | 9 Dec 2020 | 3 | |
| 2.1.2 | 8 Dec 2020 | 3 | |
| 2.1.1 | 7 Dec 2020 | 2 | |
| 2.1.0 | 6 Dec 2020 | 2 | |
| 2.0.4 | 4 Dec 2020 | 2 | |
| 2.0.3 | 4 Dec 2020 | 2 | |
| 2.0.2 | 4 Dec 2020 | 2 | |
| 2.0.1 | 4 Dec 2020 | 2 | |
| 2.0.0 | 4 Dec 2020 | 2 | |
| 1.0.11 | 16 May 2015 | 0 | |
| 1.0.10 | 16 May 2015 | 0 | |
| 1.0.9 | 15 May 2015 | 0 | |
| 1.0.8 | 11 May 2015 | 0 | |
| 1.0.7 | 9 May 2015 | 0 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 19:08 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:d32fb2f08dc1aa7b5609e252f78ef93725b912a95d6e4385566fc29978408776