node-pinboard
A Node.js wrapper for the Pinboard API.
Installation
npm install node-pinboard
Available functions
node-pinboard follows the Pinboard v1 API with token auth (token can be found on settings/password).
Errors
Under the hood, node-pinboard uses node-fetch, so API call errors will follow that library's patterns.
Tests
npm test
To determine code coverage:
npm run coverage
Examples
const Pinboard = default;const api_token = 'user:NNNNNN'; const pinboard = api_token; const options = url: 'https://github.com/maxmechanic/node-pinboard' description: 'node pinboard' tags: 'github,node-pinboard,test' toread: 'yes'; pinboard; pinboard; // promise version pinboard;