delimitfile
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
README.md
TODO.md
index.js
package.json

README.md

delimitfile

** NOTE: Sorry, this is no longer maintained, I am currently not active in node.js space. **

Simple node.js stream wrapper to handle reading delimited text based files in streaming fashion.

\n is default delimiter, a regex instance 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);
});

lineStream.on('end',function () {
  console.log('all done');
});

install

cd projectdir
npm install --save delimitfile

license

The MIT License