es6-readline
es6-readline package will return a line by line async iteractor of the given file path
Installation
npm i es6-readline
Usage
const readline = require('es6-readline')
(async () => {
const lines = readline('path/to/file')
for await (const line of lines) {
console.log(line)
}
})()