What is Node.js?

Node.js is a JavaScript runtime environment.

The Node run-time environment includes everything you need to execute a program written in JavaScript.

Node.js is an open source, cross-platform runtime environment for developing server-side and networking applications. Node.js applications are written in JavaScript, and can be run within the Node.js runtime on OS X, Microsoft Windows, and Linux.

Node.js also provides a rich library of various JavaScript modules which simplifies the development of web applications using Node.js to a great extent.

What Can Node.js Do?

  • Node.js can generate dynamic page content
  • Node.js can create, open, read, write, delete, and close files on the server
  • Node.js can collect form data
  • Node.js can add, delete, modify data in your database

Features of Node.js

Being built on Google Chrome’s V8 JavaScript Engine, Node.js library is very fast in code execution.

Lightweight framework that includes bare minimum modules. Other modules can be included as per the need of an application.

Asynchronous by default. So it performs faster than other frameworks.