40
rated 0 times
[
44]
[
4]
/ answers: 1 / hits: 29341
/ 11 Years ago, fri, may 24, 2013, 12:00:00
I want to read a text file (.txt) using Node.js. I need to push each of text's lines into array, like this:
a
b
c
to
var array = ['a', 'b', 'c'];
How can I do this?
More From » node.js