Node.js is open source, cross-platform, and since its introduction in 2009, it got hugely popular and now plays a significant role in the web development scene.
Follow below steps to install nodejs, Some of belos steps requires Admin access
npm install npm --globalif necessary
Let's follow the basics program of programming and start by creating a program which will print hello mars on the console as output.
This code-snippet is as simple as it can be, Place below code in a file called hello-mars.js
//file-name : hello-mars.js console.log('hello world');
You can run the above file using the following command on Command prompt/Terminal:
Output of the above command:
Article is written by Pavan (a) KarthiQ. Well, I am serving notice period in an MNC, Bangalore. I thought to enrich every person knowledge a little, I always have a feeling, when we teach something, we will learn more than what you know.
Knowledge is the only thing that doubles when you spend it.
I have also created the reporter for Protractor Jasmine. Use for your projects without any hesitation