delimitfile

read a file by delimiter such as new line

npm install delimitfile
2 downloads in the last week
2 downloads in the last month

delimitfile

Simple stream wrapper to handle delimited text based files.

\n is default delimiter, also as with standard split a regex object can be passed as delimiter (take care with escaping though).

example

var lineStream = require('delimitfile')('story.txt','\n');

lineStream.on('data',function (line) {
  console.log(line);
});

install

cd npm install --save delimitfile

license

mit

author

Twitter - @nonuby

npm loves you