how to store a file data in array in node fs code example
Example: javascript add line from file to array
var fs = require('fs');
var myArray = fs.readFileSync('test.txt', 'utf8').split('\n');
var fs = require('fs');
var myArray = fs.readFileSync('test.txt', 'utf8').split('\n');