Reading Console Input using Node.js
DCha0tiC
I know it's an old thread, but maybe you can use :
let answerText = prompt("Your question goes here"); let answerBool = confirm("Yes/No question goes here);"
It works nice with Repl console.
Source: W3Schools Js Popups
It is possible, I don't code Node.js but I found this from https://flaviocopes.com/node-input-from-cli/
Hope that helps!