npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

markdown-magic-engines

1.0.2 • Public • Published

markdown-magic-engines

Print engine requirements from package.json via markdown-magic

Install

yarn add -D markdown-magic markdown-magic-engines

Note: markdown-magic is a peer dependency and must be installed separately from this module

Adding the plugin

See example.js for usage.

const fs = require('fs');
const path = require('path');
const markdownMagic = require('markdown-magic');
 
const config = {
  transforms: {
    ENGINES: require('./index.js'),
  },
};
 
const markdownPath = path.join(__dirname, 'README.md');
markdownMagic(markdownPath, config);

Usage in markdown

  • node: >=6.0.0

install

npm i markdown-magic-engines

Downloadsweekly downloads

6

version

1.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability