Unofficial Privnote.com Client for Node.js
npm install privnote
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
npm test
Andreas Brekken andreas@brekken.com