I am trying to read a large file one line at a time. I found a question on Quora that dealt with the subject but I\'m missing some connections to make the whole thing fit to
I have looked through all above answers, all of them use third-party library to solve it. It's have a simple solution in Node's API. e.g
const fs= require('fs') let stream = fs.createReadStream('', { autoClose: true }) stream.on('data', chunk => { let row = chunk.toString('ascii') }))