I would just like something simple to read text from a keyboard and store it into a variable. So for:
var color = \'blue\'
I would like the
Node has a built in API for this...
const readline = require('readline'); const rl = readline.createInterface({ input: process.stdin, output: process.stdout }); rl.question('Please enter a color? ', (value) => { let color = value console.log(`You entered ${color}`); rl.close(); });