https://stackoverflow.com/questions/19718669/nodejs-how-to-take-in-text-input-from-a-keyboard-and-store-it-into-a-variable-i
readline-sync does a lot of hacks to make a synchronous interface on Windows and Linux (and probably MacOS).
Built-in readline does it but requires callback or asynchrony.
https://stackoverflow.com/questions/19718669/nodejs-how-to-take-in-text-input-from-a-keyboard-and-store-it-into-a-variable-i
readline-syncdoes a lot of hacks to make a synchronous interface on Windows and Linux (and probably MacOS).Built-in
readlinedoes it but requires callback or asynchrony.