I using below code for reading file from my local system:
var text = fs.readFileSync("./men.text"); var textByLine = text.split("\n") console.log(textByLine);
No comments:
Post a Comment