split stream into line sized chunks
The lino Node.js package splits streams into line sized chunks.
var lino =var lines =lineslineslineslineslineslineslines
lino exports a single function that returns a Transform stream. This duplex stream splits its inputs at line breaks to output line sized chunks.
With npm do:
$ npm install lino