Friday, February 21, 2014

Text input into the console in Node.js

I have been trying to find out how text input from the console works in node.js. Apparently there is something called read line that does the trick. Here is the link: http://nodejs.org/api/readline.html. It is described in the Node.js manual. There are also methods to prompt users for input, as described in the Nodejitsu documents: http://docs.nodejitsu.com/articles/command-line/how-to-prompt-for-command-line-input.

1 comment:

  1. Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Front end developer learn from Node JS Online Training from India . or learn thru Javascript Online Training from India. Nowadays JavaScript has tons of job opportunities on various vertical industry. ES6 Online Training

    ReplyDelete