Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

File line by line reader Node js

lineReader.open('file.txt', function(reader) {
  if (reader.hasNextLine()) {
    reader.nextLine(function(line) {
      console.log(line);
    });
  }
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #File #line #line #reader #Node #js
ADD COMMENT
Topic
Name
3+7 =