privnote

1.1.2 • Public • Published

privnote

Unofficial Privnote.com Client for Node.js

Build Status

Install

npm install privnote

Usage

const { createPrivnote, retrievePrivnote } = require('privnote');

const created = await createPrivnote('hello privnote.com!');

console.log(created);
// { id: 'Fbg9fXIf',
//     url: 'https://privnote.com/Fbg9fXIf#3pVfRzWrr',
//     passphrase: '3pVfRzWrr' }

const retrieved = await retrievePrivnote(created.id, created.passphrase);

console.log(retrieved);
// hello privnote.com!

See example.js

Test

npm test

Author

Andreas Brekken andreas@brekken.com

Readme

Keywords

none

Package Sidebar

Install

npm i privnote

Weekly Downloads

12

Version

1.1.2

License

MIT

Unpacked Size

6.13 kB

Total Files

7

Last publish

Collaborators

  • abrkn