metalsmith-pinboard

1.0.0 • Public • Published

metalsmith-pinboard

A Metalsmith plugin for retriving and displaying Pinboard bookmarks.

Installation

$ npm install metalsmith-pinboard

Usage

Add metalsmith-pinboard to your Metalsmith project.

let metalsmithPinboard = require('metalsmith-pinboard')

metalsmith.use(metalsmithPinboard());

If no options are specified the plugin will pull the contents from the Pinboard Popular feed.

Options

The following options are accepted:

metalsmith.use(metalsmithPinboard(
    username: 'xyz', // a pinboard username
    tags: ['tag1', 'tag2', 'tag3'], // upto 3 pinboard tags (optional)
    count: 20 // the number of records to retrieve. Pinboard limits this request to 400. (optional)
));

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i metalsmith-pinboard

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

5.64 kB

Total Files

4

Last publish

Collaborators

  • sonniesedge