Node.js Tutorial

You are Here:

What is Node.js?

Node.js is an open-source, cross-platform, JavaScript runtime built on Chrome's V8 JavaScript engine that executes JavaScript code outside a web browser.

Node.js lets developers use JavaScript to write server-side code to produce dynamic web page.

Node.js History

Node.js was written initially by Ryan Dahl in 2009 to eliminate the limited possibilities of the most popular web server.

Node.js was initially supported only Linux and Mac OS X and later in June 2011, Microsoft and Joyent implemented a native Windows version of Node.js.

NPM: Node Package Manager

In January 2010, a package manager was introduced for the Node.js environment called npm.

The package manager makes it easier for programmers to publish and share source code of Node.js packages and is designed to simplify installation, updating, and uninstallation of packages.

For example, if you want to hash your users password, you don't have to write a lines of code and spend hours of your time. All you need to do is just install bcrypt globally in your local machine and require that file in your index.js (main file) and then use it.

In this tutorial, we will explain most of the essential npm packages.

Benefits of using Node.js

The following are the list of benefits you will get if you opt to use Node.js for your applications.

  1. Node.js operates on a single-thread event loop, using non-blocking I/O calls, allowing it to support tens of thousands of concurrent connections without incurring the cost of thread context switching.
  2. Node.js is built on Chrome's V8 JavaScript engine, and now it powers an incredible amount of server-side code written in JavaScript.
  3. Node.js package ecosystem, npm, is the largest ecosystem of open source libraries in the world.
  4. Node.js application runs on Mac, Windows, Linux, SmartOS, FreeBSD, OpenBSD, IBM AIX and several other systems.

When to choose Node.js

Node.js is best suitable for the following applications

  • Real-time web applications
  • Chat programs
  • Messaging apps
  • Social media apps
  • Streaming applications
  • Multiplayer games
  • Collaboration tools
  • Virtual emulators
  • API
  • Websites

Customers using Node.js

The following are the list of customers using Node.js:

  • GoDaddy
  • Groupon
  • IBM
  • Microsoft
  • Netflix
  • PayPal
  • Rakuten
  • SAP
  • Voxer
  • Walmart
  • Yahoo


Before starting Node.js, you are requested to know JavaScript. Because, Node.js is a JavaScript for server-side coding.


Hi Developers, we almost covered 5% of Node.js Tutorials with examples for quick and easy learning.

We are working to cover every Single Concept in Node.js.

Please do google search for:

Join Our Channel

Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.

This channel is primarily useful for Full Stack Web Developer.

Share this Page

Meet the Author