Introduction to Nodejs, Learn Node JS

So in this tutorial, there is an Introduction to Nodejs. NodeJS is one of my favourite topics, Also it is a very demanding and hot topic in the current market.

On May 27, 2009, the initial release of the Node JS, and after more than 10 years ago has its stable version 13.

The Node JS Programming language has written in C, C++, and JavaScript. It is an Open Source and cross-platform Application. It can run on various platforms like Linux, Windows, Mac and on other Operating Systems as well.

It’s scalable and can handle more requests than any other programming language. The biggest giant Industries like Walmart, PayPal, Netflix, etc. using Node JS.

Before the JavaScript used inside the browser. In 2009 after the lots of hard work Ryan made the first server-side script environment.

In 2010, they got their Node Package manager (NPM), which is one of the largest package registries.

Also for Developers, it is very simple they have to learn only one language for the front-end as well as backend.

It uses V8 engine with JavaScript runtime environment to execute the JavaScript code. Node js has the file extension .js format like java has .java and PHP language has .php.

So JavaScript is an interpreted language, it reads the code line by line. It will not compile the whole source code like java.

Introduction about V8 Engine in NodeJS.

When you execute a code, it split and convert that code into the runnable command. Then It converts the code into machine language.

Next, JavaScript Runtime Environment provides support to variables, objects, functions, arrays, and libraries. We using variables, objects, functions, arrays, and libraries in the code.

Google Chrome uses V8 Engine, and Firefox uses SpiderMonkey. Apple also uses the browser known as Safari has the Engine named JavaScript Core. Microsoft edge used Chakra as their JavaScript Engine.

NodeJS is a Single-threaded Application, and it processes all the requests in a loop called an event loop.

The event loop allows the NodeJS to perform the non-blocking I/O operation. Once the process gets completed, then it calls the callback function.

Async is a process that will not wait for the previous statement to execute and will execute a new one.


In this article we learned about Nodejs in detail. The working of the NodeJS. How v8 engine works on Nodejs. Next we will look “How to install NodeJS“. Then we will look How to install PM2Commands for PM2, and PM2 clustering. Then, how to manage the Nodejs logs using PM2 logrotate.

6 Replies to “Introduction to Nodejs, Learn Node JS

Give your valuable time