Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
- Promise Based API methods - Browser & NodeJS support - Node-Fetch EMCAScript - Fluent typings & native TS. - Proxy Support
A wrapper around the CapSolver API
Currently Supports:
npm install capsolver
yarn add capsolver
Recaptcha,
import CapSolver from "capsolver"
// A new 'solver' instance with our API key
const solver = new CapSolver.Solver("<Your captchaai api key>")
/* Example ReCaptcha Website */
// solver.<recaptchaV2 | recaptchaV2Enterprise | recaptchaV3>
solver.recaptchaV2("6Ld2sf4SAAAAAKSgzs0Q13IZhY02Pyo31S2jgOB5", "https://patrickhlauke.github.io/recaptcha/")
.then((res) => {
console.log(res)
})
.catch((err) => {
console.error("Could not solve captcha.")
})
Image,
import CapSolver from "capsolver"
import fs from "fs";
const solver = new CapSolver.Solver("<Your captchaai api key>")
// Read from a file as base64 text
solver.imageCaptcha(fs.readFileSync("./captcha.png", "base64"))
.then((res) => {
console.log(res)
})
.catch((err) => {
console.error("Could not solve captcha..")
})
Proxy,
import CapSolver from "capsolver"
const solver = new CapSolver.Solver("<Your captchaai api key>")
solver.recaptchaV2("6Ld2sf4SAAAAAKSgzs0Q13IZhY02Pyo31S2jgOB5", "https://patrickhlauke.github.io/recaptcha/", {
proxyAddress: "login:password@21.214.43.26", // The (Username : Password @ Address) of our chosen proxy
proxyType: "HTTP" // The 'Type' of proxy, http, https, socks, ect.
proxyPort: 8080
})
.then((res) => {
console.log(res)
})
.catch((err) => {
console.error("Could not solve captcha..")
})
The latest version of the code base will always be under the 'next' branch!
FAQs
- Promise Based API methods - Browser & NodeJS support - Node-Fetch EMCAScript - Fluent typings & native TS. - Proxy Support
The npm package capsolver receives a total of 1,016 weekly downloads. As such, capsolver popularity was classified as popular.
We found that capsolver demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.