npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

nextcaptcha-ts

v1.0.5

Published

NextCaptcha Captcha Solving Service Api Wrapper for Typescript to solving recaptcha v2, v3,recapthcha moible,hcaptcha,funcaptcha

Downloads

258

Readme

NextCaptcha Node.js SDK

NextCaptcha is a powerful captcha solving service that supports various types of captchas including reCAPTCHA v2, reCAPTCHA v2 Enterprise, reCAPTCHA v3, reCAPTCHA Mobile, hCaptcha, hCaptcha Enterprise, and FunCaptcha. With NextCaptcha, you can easily solve a variety of captcha challenges in your automation scripts and programs.

This SDK provides a simple and easy-to-use Node.js interface for interacting with the NextCaptcha API. It supports all available captcha types and offers intuitive methods for solving different types of captchas.

Installation

You can install the NextCaptcha Node.js SDK using npm:

npm install nextcaptcha-ts

Usage

To start using the NextCaptcha Node.js SDK, you first need to obtain your API key from the NextCaptcha Dashboard. Then, you can create a NextCaptcha instance:

import NextCaptcha from 'nextcaptcha-ts';

const apiKey = 'YOUR_API_KEY';
const nextCaptcha = new NextCaptcha(apiKey);

Now, you can use the nextCaptcha object to solve various types of captchas. Solving reCAPTCHA v2 To solve reCAPTCHA v2 challenges, use the recaptchaV2 method:

const result = await nextCaptcha.recaptchaV2({websiteURL, websiteKey});

Solving reCAPTCHA v3 To solve reCAPTCHA v3 challenges, use the recaptchaV3 method:

const result = await nextCaptcha.recaptchaV3({websiteURL, websiteKey, pageAction});

Solving reCAPTCHA Mobile To solve reCAPTCHA Mobile challenges, use the recaptchaMobile method:

const result = await nextCaptcha.recaptchaMobile({websiteURL, websiteKey});

Solving hCaptcha To solve hCaptcha challenges, use the hcaptcha method:

const result = await nextCaptcha.hcaptcha({websiteURL, websiteKey});

Solving hCaptcha Enterprise To solve hCaptcha Enterprise challenges, use the hcaptchaEnterprise method:

const result = await nextCaptcha.hcaptchaEnterprise({websiteURL, websiteKey, enterprisePayload});

Solving FunCaptcha To solve FunCaptcha challenges, use the funcaptcha method:

const result = await nextCaptcha.funcaptcha({websitePublicKey, websiteURL});

Checking Account Balance To check your NextCaptcha account balance, use the getBalance method:

const balance = await nextCaptcha.getBalance();
console.log(`Account balance: ${balance}`);

Error Handling

If an error occurs while solving a captcha, the SDK will throw an error. You can catch and handle these errors using a try-catch block.

Contributing

If you find any bugs or have suggestions for improvement, please feel free to submit an issue or send a pull request. We welcome all contributions!

License

This project is licensed under the MIT License. For more information, please see the LICENSE file.