cft
Become a CreatorSign inGet Started

What is Node.js?

Node.js is used to run JavaScript outside the browser.


user

Mohit Saud

4 months ago | 1 min read
Follow

nodejs-cxz1p
  • Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine.
  • Node.js can be used both on the frontend and the backend.
  • Node.js is used to run JavaScript outside the browser.

History of Node.js

In 1995, Netscape had written a program called Netscape Enterprise Server which allowed the Developer to run JavaScript on the server-side. But that was not successful.

In 2009, an idea came to the mind of Ryan Dahl (Google Engineer) to run JavaScript outside the browser. So, he took the V8 engine and embedded it in a C++ program and called it Node.exe which later on became Node.js.

An engine is nothing but converts JavaScript code into
machine understandable code to get the output. The different browsers have
a different engine to handle JavaScript code. Example: V8 in Chrome, SpiderMonkey in Firefox, Nitro in Safari, etc.  Thanks to Ryan Dahl, JavaScript can be run on both the frontend and the backend.







Upvote


user
Created by

Mohit Saud

Follow

Freelancer

Electronics and Communication Engineer. Started learning coding, the few months after the covid-19 pandemic began. A self made programmer. Skills in Node.js, React.js, MongoDB, Next.js, React-Native and other development skills.


people
Post

Upvote

Downvote

Comment

Bookmark

Share


Related Articles