lili
v0.0.0
Published
Pass string to downstream line by line
Downloads
19
Readme
lili
Pass string to downstream line by line.
Example
var fs = require('fs');
var lili = require('lili');
fs.createReadStream('file path')
.pipe(lili(/* options */))
.on('data', function (data) {
console.log(data.toString('utf8'));
});
Options
This object is passed straight through to stream.Transform
.
eol
: ~~end of life~~ end of line (default:\n
)