22
rated 0 times
[
26]
[
4]
/ answers: 1 / hits: 70994
/ 12 Years ago, mon, september 17, 2012, 12:00:00
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
?
I have these limitations:
- The entire file does not need to be written to memory
- A child process is not required to perform the task
More From » node.js