title: Reading value from console, interactively
body: <p>I thought to make an simple server http server with some console extension. I found the snippet to read from command line data.</p>
  
  <pre><code>  var i = rl.createInterface(process.stdin, process.stdout, null);
    i.question('Write your name: ', function(answer) {
      console.log('Nice to meet you&gt; ' + answer);
      i.close();
      process.stdin.destroy();
  
    });
  </code></pre>
  
  <p>well to ask the questions repeatedly, i cant simply use the <code>while(done) { }</code> loop? Also well if the server receives output at the question time, it ruins the line. </p>