npm.io
0.0.4 • Published 14 years ago

delimitfile

Licence
MIT
Version
0.0.4
Deps
0
Vulns
0
Weekly
0
Stars
1

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

Keywords