mailhide

easy reCAPTCHA Mailhide API

npm install mailhide
1 downloads in the last week
9 downloads in the last month

Mailhide

Provides easy use of the reCAPTCHA Mailhide API.

Install

npm install mailhide

Usage


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".

npm loves you