Node JS Tutorial

Node.js is an open-source, server-side Javascript runtime environment that allows developers to build scalable and high-performance network applications.

It is built on the V8 Javascript runtime engine and converts Javascript code into machine code, the same engine that powers the Google Chrome browser.

Node.js enables the execution of Javascript code outside the browser, making it suitable for server-side development.

C Language Libuv module provides non-blocking I/O, thread pool and event-driven operations, allowing Node.js to handle multiple tasks concurrently without waiting for a task to complete.

Node.js is single-threaded.

Overview of Node.js:

Before Nodejs Introduce, Javascript can run only on browser only.

After Nodejs, Javascript code can run on server, outside of the browser.

  • Nodejs is open source and free to use.

  • Nodejs uses asynchronous programming.

  • Nodejs server always on standby mode, to handle upcoming request.

  • Node.js is cross-platform, it runs on various operating systems like Windows, macOS, and Linux.

  • It uses a non-blocking I/O, event-driven, model, which makes it lightweight and efficient for handling concurrent connections. It inherits these functionality from `C Language`.

History of Node:

  • 2009: Node.js was created by Ryan Dahl, Initially it support Mac and linux Operating Systems.

  • 2010: Node.js gained attention due to its ability to handle concurrent connections with high throughput, making it suitable for real-time applications like Online Payment Services, Social Media Applications, chat servers and more.

  • 2011: npm, the package manager for Node.js, was introduced. It contributed to the growth of the Node.js ecosystem by providing a vast repository of reusable code modules.

  • 2015: Node.js merged with io.js, a fork of Node.js, to form the Node.js Foundation. This unified the development efforts and brought together the community to work on a single platform.

  • 2018: The Node.js Foundation merged with the JS Foundation to form the OpenJS Foundation to extend support for Javascript technologies.

  • 2024: Node.js v20 became the latest LTS (Long-Term Support) release, providing stability and support for enterprise-level applications.

Download Node From Official Website

Click here to Download