1.0.0 • Published 9 years ago

lino v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 years ago

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

1.0.0

9 years ago

0.1.6

9 years ago

0.1.5

9 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.9

10 years ago

0.0.8

11 years ago

0.0.7

11 years ago

0.0.6

11 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago