New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

deathbycaptcha3

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deathbycaptcha3

deathbycaptcha API wrapper for Node.js

  • 1.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

deathbycaptcha API wrapper for Node.js

Post a captcha to the deathbycaptcha service, then polls until the captcha is decoded.

Installation

npm install deathbycaptcha3

Usage :

Set up your credentials :

var deathbycaptcha = require('deathbycaptcha3');

deathbycaptcha.credentials({
    username: 'yourusername',
    password: 'xxxxxxxx'
});

Decode from a url, with a 10 seconds polling interval :

deathbycaptcha.decodeUrl(url, 10000, function(err, result) {
    console.log(result.text);
});

or decode from a file :

deathbycaptcha.decodeFile('modern-captcha.jpg', 10000, function(err, result) {
    console.log(result.text, result.id);
});

report invalid captcha :

deathbycaptcha.report(captchaId, function(err, result) {
    console.log(err);
});  

get your credit balance :

deathbycaptcha.credit(function(err, result) {
    console.log(result.balance);
});

FAQs

Package last updated on 09 Nov 2014

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc