banr-stream
Prepend one-line package.json banner in pipeline.
Install
yarn add banr-stream --dev
npm install banr-stream --save-dev
Usage
CLI
--file
is optional. More info check out banr.
Options: --file=FILE, -f FILE
Example:
$ echo "MY CONTENT FILE" | banr-stream/*! Banr-stream v1.0.2 | MIT 2016 José Luis Quintana */MY AWESOME CONTENT FILE
API
var banr = ; processstdin ;
Example:
$ echo "content of my module" | node example/stream.js/*! MyModule v1.0.0 | MIT 2017 John Doe */content of my module
License
MIT license
© 2017 José Luis Quintana