sharelock-client
v0.0.1
Published
Node.js wrapper for https://sharelock.io
Downloads
2
Readme
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', '[email protected]', cb);
sharelock.create('more secrets', ['[email protected]', '@twitter'], cb);