prependstream

Super simple stream that prepends a constant value to another stream.

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
 

The MIT license, see LICENSE file.