0.0.1 • Published 9 years ago

sharelock-client v0.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

A simple Node.js wrapper for Sharelock.

// Public instance at https://sharelock.io
var sharelock = require('sharelock-client').init();

// Custom instance
var mySharelock = require('sharelock-client').init('https://example.com/sharelock');

var cb = function (err, url) {
  console.log(url);
};

sharelock.create('super secret', 'john@example.com', cb);

sharelock.create('more secrets', ['jack@example.com', '@twitter'], cb);