node-lr

0.0.1 • Public • Published

linereader

a module for nodejs with reading text file line by line

Install

npm i node-lr --save

Usage

var LR = require('node-lr').LR;
var path = require('path');

var lr = new LR(path.join(__dirname, 'test.txt'));
lr.on('line', function(line){
  console.log(line);
});

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i node-lr

      Weekly Downloads

      1

      Version

      0.0.1

      License

      MIT

      Last publish

      Collaborators

      • thesadboy