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
You can use the module 'readline' for this: http://nodejs.org/api/readline.html - the first example in the manual demonstrates how to do what you asked for.