What is Node.js?

Harshita Gupta
1 min readJan 24, 2021

By the definition- Node.js is a JavaScript runtime environment built on Chrome’s V8 JavaScript engine.

Let’s understand what exact meaning of the above definition.

As we know, JavaScript was used as a client-side scripting language that means it runs on browsers only or can say it understands by browser only.

Before Node.js, JavaScript can only be used for the Frontend part of the application. But what about Backend?

For Back End, we have to use some server-side programming language. That means for developing a complete web application we have to use two different languages.

To solve this problem, Node.js comes into the picture.

Both your browser and Node.js uses V8 JavaScript runtime engine to run JavaScript. This engine converts your JavaScript code into a faster machine code. Machine code is low-level code which can understands by computer and can run without needing first interpret it.

Now with the help of Node.js, we can use a single programming language to develop over whole web application.

--

--