https://github.com/alperensert/node-capmonster
NodeJS package for capmonster.cloud
https://github.com/alperensert/node-capmonster
capmonstercloud captcha datadome-captcha-solver geetest-solver hcaptcha-solver javascript nodejs recaptcha typescript
Last synced: 5 months ago
JSON representation
NodeJS package for capmonster.cloud
- Host: GitHub
- URL: https://github.com/alperensert/node-capmonster
- Owner: alperensert
- License: mit
- Created: 2020-11-20T08:05:47.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-28T11:34:40.000Z (about 2 years ago)
- Last Synced: 2025-09-12T04:24:23.907Z (9 months ago)
- Topics: capmonstercloud, captcha, datadome-captcha-solver, geetest-solver, hcaptcha-solver, javascript, nodejs, recaptcha, typescript
- Language: TypeScript
- Homepage: https://node-capmonster.quasm.dev/
- Size: 643 KB
- Stars: 17
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Capmonster.cloud for NodeJS
    

_At least 2x cheaper, up to 30x faster than manual recognition services._
If you have any problem with usage, [read the documentation](https://node-capmonster.alperen.io) or [create an issue](https://github.com/alperensert/node-capmonster/issues/new)
## Installation
#### with yarn:
```bash
yarn add node-capmonster
```
#### with npm:
```bash
npm node-capmonster
```
#### with pnpm:
```bash
pnpm add node-capmonster
```
## Supported captcha types
- FunCaptcha
- GeeTest
- HCaptcha
- Image to Text
- ReCAPTCHA v2 / v2 Enterprise / v3
- Turnstile
- TenDI
- Data Dome
- AWS WAF
## Usage examples
#### Recaptcha V2
```js
import { RecaptchaV2Task } from "node-capmonster"
const client = new RecaptchaV2Task("")
const task = client.task({
websiteKey: "",
websiteURL: "",
})
const taskId = await client.createWithTask(task)
const result = await client.joinTaskResult(taskId)
```
#### FuncaptchaTask
```js
import { FuncaptchaTask } from "node-capmonster"
const client = new FuncaptchaTask("")
const task = client.task({
websitePublicKey: "",
websiteURL: "",
})
const taskId = await client.createWithTask(task)
const result = await client.joinTaskResult(taskId)
```
More examples can be found at [documentation](https://node-capmonster.quasm.dev).