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 🙏

© 2026 – Pkg Stats / Ryan Hefner

capguru

v0.4.1

Published

Automatic captcha solving for Puppeteer via the Cap.Guru service: reCAPTCHA v2, hCaptcha, GeeTest, FunCaptcha, TikTok, AWS WAF, Yandex SmartCaptcha

Readme

capguru

English | Русский

Automatic captcha solving for Puppeteer via the Cap.Guru service.

Supported: reCAPTCHA v2, hCaptcha, GeeTest v3/v4, FunCaptcha (Arkose Labs), TikTok, AWS WAF, Yandex SmartCaptcha.

Installation

npm install capguru puppeteer

Usage

const puppeteer = require('puppeteer');
const { CaptchaSolver, CapGuruFatalError } = require('capguru');

(async () => {
  const browser = await puppeteer.launch({ headless: false });
  const page = await browser.newPage();

  const solver = new CaptchaSolver({ page, apiKey: 'YOUR_KEY', debug: true });
  await solver.setup();

  await page.goto('https://site.com/cap');

  try {
    const kind = await solver.auto(30);
    console.log('Captcha:', kind || 'not found');
  } catch (e) {
    if (e instanceof CapGuruFatalError) console.log('API key or balance problem:', e.message);
    else console.log('Not solved:', e.message);
  } finally {
    await browser.close();
  }
})();

Create the solver before page.goto() and call await solver.setup().

Methods

await solver.auto(30)          // find and solve the captcha, returns its type or null
await solver.detect()          // only detect the type
await solver.solveRecaptcha2()
await solver.solveHcaptcha()
await solver.solveOther()      // Yandex SmartCaptcha
await solver.solveGeetest()
await solver.solveFuncaptcha()
await solver.solveTiktok()
await solver.solveAws()

Full documentation: https://docs.cap.guru


Русский

Автоматическое решение капчи для Puppeteer через сервис Cap.Guru.

Поддерживаются: reCAPTCHA v2, hCaptcha, GeeTest v3/v4, FunCaptcha (Arkose Labs), TikTok, AWS WAF, Яндекс SmartCaptcha.

Установка

npm install capguru puppeteer

Использование

const solver = new CaptchaSolver({ page, apiKey: 'YOUR_KEY', debug: true });
await solver.setup();

await page.goto('https://site.com/cap');

const kind = await solver.auto(30);
console.log('Captcha:', kind || 'not found');

Создавайте солвер до page.goto() и вызывайте await solver.setup(): так модуль успевает перехватить картинки капчи и переключить hCaptcha на английский.

Методы

await solver.auto(30)          // найти капчу и решить, вернёт тип или null
await solver.detect()          // только определить тип
await solver.solveRecaptcha2()
await solver.solveHcaptcha()
await solver.solveOther()      // Яндекс SmartCaptcha
await solver.solveGeetest()
await solver.solveFuncaptcha()
await solver.solveTiktok()
await solver.solveAws()

При неверном API-ключе или нулевом балансе выбрасывается CapGuruFatalError, при неудаче решения — обычная ошибка Error.

Полная документация: https://docs.cap.guru