I have large text files, which range between 30MB and 10GB. How can I count the number of lines in a file using Node.js?
30MB
10GB
Node.js
I hav
There is an npm module called count-lines-in-file. I've been using it for smallish (<1000 lines) files and it's worked great so far.