read-each-line-sync
Read file line by line, synchronously.
Install
npm install read-each-line-sync
Example
var readEachLineSync =
Encoding can optionally be omitted, in which case it will default to utf8:
End-Of-Line can be specified along with encoding if necessary, otherwise it defaults to your operating system EOF:
Credits
Author: Geza Kovacs
Based on readLineSync
License
MIT