1.1.2 • Published 2 years ago

privnote v1.1.2

Weekly downloads
26
License
MIT
Repository
github
Last release
2 years ago

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

1.1.2

2 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago