I want to run a nodeJS application with my own very simple console, so my question is how can I achieve it in a straightforward way (typical of any programming language).
I've seen articles like How To Read User Input With NodeJS but I am not sure if there is a simple way already included.
It looks unfinished, but it appears NodeJS does have a simpler way with its Readline library in version 5.3.
Other than that, I think the article you linked to covers the basics pretty well.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.