I am trying to read files 1 line at a time using this doc
https://nodejs.org/api/readline.html
from the answer here Read a file one line at a time in node.js?
proposed by Dan.
The problem is, it doesn't specify how to call a function when the file is fully read from.
Does anyone know?
Thanks