After reading the title first thing which comes into our mind is What is Node.js?

Let me explain, Node.js is nothing but a runtime environment for executing Javascript code.

Node.js was written initially by “Ryan Dahl” in 2009, about thirteen years after the introduction of the first server-side JavaScript environment.

What was the real need?

Well before Node.js was invented, JavaScript could only run on browsers. Every browser has its own implementation of the JavaScript engine and this is the reason why JavaScript code behaves differently on different browsers.

For eg: Chrome uses the V8 engine, Microsoft uses the Chakra

Sumeet Panchal

Programming Enthusiast

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store