plugin-links

0.3.0 • Public • Published

plugin-links

Create markdown links from namespaced github repos.

Install

$ npm install plugin-links --save

Example

Example of Metalsmith Plugins

Usage

import PluginLinks from 'plugin-links';

let pluginLinks = new PluginLinks({
  prefix: 'metalsmith',
  fileName: 'PLUGINS',
  pages: 1
});

pluginLinks.create().then((string) => {
  // PLUGINS.md created
  console.log(string) // - [prefix-plugin](http://github.com/plugin/plugin-name)
});

Options

  • prefix {string} - namespace to search on github (required)
  • fileName {string} - name of markdown file to be created (optional)
  • pages {number} - amount of pages to search on github (optional)

Testing

$ npm test

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.3.0
    6
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.3.0
    6
  • 0.2.2
    0
  • 0.2.1
    0
  • 0.2.0
    0

Package Sidebar

Install

npm i plugin-links

Weekly Downloads

6

Version

0.3.0

License

MIT

Last publish

Collaborators

  • cameronjroe