nl-stream
v1.0.0
Published
A stream returning one event per line
Downloads
1
Readme
nl-stream
A NodeJS stream returning one event per line.
var Lines = require('nl-stream')
var lines = new Lines()
inputStream.pipe(lines)
lines.on('data', function(line) {
console.log(line)
})
lines.on('end', function () {
console.log('line stream finished')
})