diamond
stdin + arguments composite stream
install
npm install diamond
example
pipe stdin and content of files from command line to stdout:
var diamond = ; ;
listen for 'next' event:
var diamond = ; var stream = ; stream;stream;stream;
by default, process.argv.slice(2)
is used as list of files. You can pass your own list:
var program = ;var diamond = ; program version'0.0.1' ; var stream = ;// ...