markdown-magic-dependency-table
Generate table of information about dependencies automatically in markdown
Last updated 3 years ago by camachgk .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install markdown-magic-dependency-table 
SYNC missed versions from official npm registry.

Dependency table

Add a table of dependencies to markdown files via markdown-magic

Install

npm i markdown-magic markdown-magic-dependency-table --save-dev

Adding the plugin

See example.js for usage.

const fs = require('fs');
const path = require('path');
const markdownMagic = require('markdown-magic');

const config = {
  transforms: {
    DEPENDENCYTABLE: require('./index.js'),
  },
};

const markdownPath = path.join(__dirname, 'README.md');
markdownMagic(markdownPath, config);

Usage in markdown

Dependency Description Version License Type
find-up@^2.1.0 Find a file by walking up parent directories 2.1.0 MIT production
semver@^5.3.0 The semantic version parser used by npm. 5.3.0 ISC production
markdown-magic@^0.1.17 Automatically update markdown files with content from external sources 0.1.17 MIT dev
prettier@^1.4.4 Prettier is an opinionated JavaScript formatter 1.4.4 MIT dev

Options

  • production (false) - include production dependencies
  • dev (false) - include development dependencies
  • optional (false) - include optional dependencies
  • peer (false) - include peer dependencies

Current Tags

  • 1.3.2                                ...           latest (3 years ago)

8 Versions

  • 1.3.2                                ...           3 years ago
  • 1.3.1                                ...           3 years ago
  • 1.3.0                                ...           3 years ago
  • 1.2.2                                ...           3 years ago
  • 1.2.1                                ...           3 years ago
  • 1.2.0                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 7
Dependencies (2)
Dev Dependencies (2)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |