through2-linereader

Yet another line reader stream, uses through2

Usage no npm install needed!

<script type="module">
  import through2Linereader from 'https://cdn.skypack.dev/through2-linereader';
</script>

README

through2-linereader

Yet another line reader stream, uses through2

Installation

npm install through2-linereader

or

npm install --save through2-linereader

Usage

var linereader = require('through2-linereader');

fs.createReadStream('helloWorld.log', 'utf8')
  .pipe(linereader())
  .on('data', function(line){
    console.log('I found a line.', line);
  })