There might be a shorter way, but I found this line of code, and it helped me a lot:
const readline = require('readline').createInterface({
input: process.stdin,
output: process.stdout
});
readline.question("What ever you want to ask\n", variableName => {
console.log(`sup {variableName}`)
readline.close();
});
Again, I think you can find shorter ways, but I found this on codecademy.