Wednesday, December 26, 2018

NodeJS : How to read file content line by line without loading entire content into memory

The link in reference section is giving idea on how to do this. Basically, it utilises the FileReader
api and reads each time 256 characters buffer size. 

references:
https://gist.github.com/peteroupc/b79a42fffe07c2a87c28

No comments:

Post a Comment