delimitfile

0.0.4 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i delimitfile

Weekly Downloads

1

Version

0.0.4

License

MIT

Last publish

Collaborators

  • sitepodmatt