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 🙏

© 2025 – Pkg Stats / Ryan Hefner

nocaptchaai.js

v1.2.0

Published

A simple wrapper for nocaptchaai.com's API.

Downloads

52

Readme

NoCaptchaAI.js

A simple TypeScript/JavaScript wrapper for the NoCaptchaAI API. Easy to use and simple to implement.

noCaptchaAI Dashboard

You can find your API key and manage your account at NoCaptchaAI.

  • Get 6000 free captcha solves just by sharing noCaptchaAI on your socials.
  • Cheapest plans for captcha solving on the market.
  • Chrome Extension, Userscripts and much more available too.

New to noCaptchaAI?

No worries! There is a Getting Started Guide to help you out.

Join today and solve thousands of captchas with ease and at the lowest price on the market.

SIGN UP NOW AND GET 6000 FREE CAPTCHA SOLVES JUST BY SHARING noCaptchaAI ON YOUR SOCIALS

USAGE

Import the module

const { NoCaptchaAI } = require('nocaptchaai.js');

Create a new client with your NoCaptchaAI API key

// Create new client without auto balance check
const NoCaptchaAIClient = await NoCaptchaAI.init("YOUR_NOCAPTCHAAI_API_KEY");

or

Create a new client with your NoCaptchaAI API key that checks your balance before creating a task

// Create new client with auto balance check
const NoCaptchaAIClient = await NoCaptchaAI.init("YOUR_NOCAPTCHAAI_API_KEY", true);

Check your balance manually

  // Get your current remaining balance from your NoCaptchaAI plan
  const accountBalance = await NoCaptchaAIClient.getBalance();
  // Check if you have enough funds to create a task
  if(accountBalance < 5) return console.log("You don't have enough funds to create a task.");

hCaptcha

Solve a hCaptcha task (basic) | cost: 5 request

const capToken = await NoCaptchaAIClient.solveProxylessHCaptcha("example.com", "005814c5-818b-43ee-ba07-fa4c965c7147");

Solve a hCaptcha task (with proxy, recommended) | cost: 5 request

const capToken = await NoCaptchaAIClient.solveHCaptcha("example.com", "005814c5-818b-43ee-ba07-fa4c965c7147", {
  type: "http",
  ip: "123.123.123.123",
  port: 1111,
  username: "user",
  password: "pw"
});

ProBot OCR Captchas

Solve a OCR captcha by using a base64 encoded image | cost: 1 request

  const ocrResult = await NoCaptchaAIClient.solveOCRImage("BASE_64_STRING")

or

Solve a OCR captcha by using a URL | cost: 1 request

  const ocrResult = await NoCaptchaAIClient.solveOCRImage("https://media.discordapp.net/attachments/886309080099086336/102102717165506560/SomeNiceImage.png")

hCaptcha Image

Solve a hCaptcha grid task by using the image URL or base64 | cost: 1 request

  const hCaptchaResult = await NoCaptchaAIClient.solveHCaptchaImages([
    'IMG_URL_1_OR_BASE64',
    'IMG_URL_2_OR_BASE64',
    'IMG_URL_3_OR_BASE64',
    'IMG_URL_4_OR_BASE64',
    'IMG_URL_5_OR_BASE64',
    'IMG_URL_6_OR_BASE64',
    'IMG_URL_7_OR_BASE64',
    'IMG_URL_8_OR_BASE64',
    'IMG_URL_9_OR_BASE64',
  ], "grid", "Target Task", "en")

Solve a hCaptcha bounding box task by using the image URL or base64 | cost: 1 request

  const hCaptchaResult = await NoCaptchaAIClient.solveHCaptchaImages([
    'IMG_URL_OR_BASE64'
  ], "bbox", "Target Task", "en")

Solve a hCaptcha multi select task by using the image URL or base64 | cost: 1 request

  const hCaptchaResult = await NoCaptchaAIClient.solveHCaptchaImages([
    'IMG_URL_OR_BASE64'
  ], "multi", "Target Task", "en", ["CHOICE_ONE", "CHOICE_TWO", "CHOICE_THREE"])

Examples

For complete and more examples, check out the examples folder.