David Endersby
Results
2
comments of
David Endersby
If you're still having issues, node has an inbuilt module that does the same (and can be easily wrapped in a promise) called [readline](https://nodejs.org/api/readline.html#readline_readline). Example here - https://daendersby.medium.com/stop-using-line-reader-1ad452f68155
I couldn't make promises work either. I found that you can use node's readline functionality instead. Wrote it up here - https://daendersby.medium.com/stop-using-line-reader-1ad452f68155