Skip to content

abrkn/privnote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Unofficial Privnote.com Client for Node.js

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published