M
M
Maxim2016-11-10 12:55:33
JavaScript
Maxim, 2016-11-10 12:55:33

How to count file line by line in node.js?

There is a file, it has lines, it is necessary to read each line separately, change it slightly and write it to another file. If I figured out a little with reading and writing, then here's how to do it line by line? Well, or is there some way to change the lines in the source file?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
tex0, 2016-11-10
@american6oy

Choose: node.js: read a text file into an array. (Each line...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question