
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
- Promise Based API methods - Browser & NodeJS support - Node-Fetch EMCAScript - Fluent typings & native TS. - Proxy Support
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 3,964 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
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.