node package manager

prependstream

Usage

PrependStream = require 'prependstream'
prep = new PrependStream
    prepend: 'Prepend something!\n'
 
fs = require 'fs'
fs.createReadStream '/etc/motd'
prep = fs.pipe prep
prep.pipe process.stdout
 

License

The MIT license, see LICENSE file.