Organizational Research By

Surprising Reserch Topic

node js count the number of lines in a file


node js count the number of lines in a file  using -'javascript,node.js'

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

    

asked Sep 18, 2015 by rajeevr642
0 votes
70 views



Related Hot Questions

5 Answers

0 votes
NULL
answered Sep 18, 2015 by shikhar jain
0 votes
NULL
answered Sep 18, 2015 by santosh soni
0 votes
NULL
answered Sep 18, 2015 by santosh soni
0 votes
NULL
answered Sep 18, 2015 by loknath.ganji
0 votes
NULL
answered Sep 18, 2015 by deepak07.s

...