Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
easy reCAPTCHA Mailhide API
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
example
lib
src
.gitignore
.npmignore
LICENSE
README.md
index.js
package.json

README.md

Mailhide

Provides easy use of the Google reCAPTCHA Mailhide API.

Install

npm install mailhide

Usage

You will need a Mailhide API key, both public and private, which you can generate here.

Then use as follows:

var Mailhide = require('mailhide');
var mailhider = new Mailhide({
  privateKey: "9aa749cd1f9eece41df3e18010b922dd",
  publicKeyFile: __dirname + "/example.public.key"
});

var url = mailhider.url(email);

// url == "http://www.google.com/recaptcha/mailhide/d?k=01g4QpVFLdMs52QNMKC2tuCg%3D%3D&c=51q-FveskT4H19GHK6zDcohvqqiqWoicUgGIbE6QIUE%3D"

Also see "examples/example.coffee".

Something went wrong with that request. Please try again.