What is Node.js?
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.
- 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.
- Node.js package ecosystem, npm, is the largest ecosystem of open source libraries in the world.
- 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
Customers using Node.js
The following are the list of customers using Node.js:
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
This channel is primarily useful for Full Stack Web Developer.