sharelock-client

0.0.1 • Public • Published

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);

Readme

Keywords

none

Package Sidebar

Install

npm i sharelock-client

Homepage

sharelock.io

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • rolodato