Fully configurable buffered reader for node.js
When you need to read a file you typically read a chunk of bytes called "buffer" to avoid multiple calls to the underlying I/O layer, so instead of reading directly from the disk, you read from the previous filled buffer. Doing this you win performance.
This library allows you to read files using internal buffers, so you don't have to worry about them. In addition, you can read a text file line by line.
npm install buffered-reader
Or simply copying
build/buffered-reader.js into your project's directory and
✔ Node *