A tool that generates an info header from your module's package.json and prepends it to the given file(s).
Install
$ npm install --save-dev module-header
Usage
const header = ;const pkg = // optionally pass your custom template string:// header('*.js', pkg, `-- ${pkg.name} --`) ;
CLI
$ npm install --global module-header
Usage:
$ header <file-glob(s)>
Example:
$ header dist/**/* src/*.js