This package has been deprecated

Author message:

use split

lino

1.0.0 • Public • Published

lino - split stream into line sized chunks

The lino Node.js package splits streams into line sized chunks.

Build Status

Usage

var lino = require('lino')
 
var lines = lino()
 
lines.write('Chunks are buffered until the ')
lines.write('the first newline character ')
lines.write('is encountered.\n')
lines.write('No characters are removed.\n')
lines.write('At the end, the rest ')
lines.end('gets flushed.')
 
lines.pipe(process.stdout)

API

lino(opts)

lino exports a single function that returns a Transform stream. This duplex stream splits its inputs at line breaks to output line sized chunks.

Installation

With npm do:

$ npm install lino

License

MIT License

Package Sidebar

Install

npm i lino

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • michaelnisi