DEV Community

Srajan Gupta
Srajan Gupta

Posted on


Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine

"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine. It uses an event-driven non-blocking model that makes it lightweight and efficient."

Do you think, the above statement is a bit uneasy?
Do you find, the above statement to be a bit difficult to understand?

Well!! Let's take a look at something simple.

The above statement simply means -

Node.js is actually a platform that allows us to run JavaScript on a Server.
It also saves us from learning various different programming languages, such as for frontend and backend, eg. when building applications with PHP, etc. But with JavaScript, we can use the same language on both client and server side.

Some other things about node.js are -

  • It uses JavaScript, so no need to learn various programming languages for client and server side programming.
  • Very fast (runs on the V8 engine & uses non-blocking code)
  • Huge ecosystem of open source packages (npm), which we can easily install in our projects and use them.
  • Great for real-time services (like chats), because we can utilize web sockets.

Top comments (0)

Need a better mental model for async/await?

Check out this classic DEV post on the subject.

⭐️🎀 JavaScript Visualized: Promises & Async/Await

async await