3.1.2 • Published 7 years ago

input-stream-parser v3.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Input process parser

Makes it easier to digest an input stream with a delimiter

Getting Started

npm install --save input-stream-parser

Usage

var parser = require('input-stream-parser');
var file = fs.createReadStream('somefile.txt');
parser(file, '\n', function (line, cb) {
  // Will be called on every line of the file (one after the other)
  cb();
}, function () {
  // This will run when finished.
})

Contributions welcome!

Credits

This library was initially made by the awesome team of engineers at Diamond.

If you haven't already, make sure you install Diamond!

3.1.2

7 years ago

3.1.1

7 years ago

3.1.0

7 years ago

3.0.0

7 years ago