readline

simple streaming readline module

npm install readline
20 downloads in the last day
169 downloads in the last week
668 downloads in the last month

readline

read line module for nodejs. Read a file line by line.

TODO

test different new line chars \r

Example

  var readline = require('readline');
  var rl = readline("./somefile.txt");
  rl.on("line", function (line){
    //do something with the line of text
  });
  rl.on('error', function (e){
    //something went wrong
  });
npm loves you