NodeJS is an open source platform to create a Runtime environment it provides event driven, non blocking (asynchronous), cross platform, Runtime environment for building highly scalable web applications using JavaScript. 

Why to learn NodeJS?

  • Easy Scalability
  • Real time web apps
  • Fast & Secure
  • Easy to learn
  • Easy to Caching
  • Data Streaming
  • Hosting
  • Corporate Support

How to Run NodeJS?

First thing we need to install nodeJS in a system then use the following command to run your application.


// Accessing console module 
const console = require('console');
// Calling method"Hello World!");

command to run your application

node index.js


Hello World!

Thanks, May this example help you.