Node.js is an open source applications.
NodeJS is run cross platform runtime environment for Server-side and networking
applications. It also the default package manager for the JavaScript runtime
environment Node.js. It’s used for managing dependencies of various server side
dependencies and running scripts on the server to render content before it is
delivered to a web browser. It’s developed by Isaac Ryan Dahl and was initially
released in January 12, 2010. Node.JS’s
eco-system ‘npm’ is known for the world largest open source libraries.
Node.js consists of a command line
client (NPM), and NPM registry.
- Command line client (NPM)
NPM
manages all the packages and modules for Node.js. It’s get installation to
system along with the Node.js. NPM will help system to installed required
packages and modules in Node project. These installed packages contains all the
files needed for a module. These modules are the JavaScript libraries that can
be included in Node project according to business requirement.
2. NPM
registry
Its online
database of free or paid. The registry
is can accessed via the client and is mange by NPM. By using the package.json
file, NPM can install all the dependencies of a project. By using those package.json
file, NPM can also update and uninstall packages. Every each dependency can
specify a range of valid versions using the semantic versioning scheme in the
package.json file. Its help developer to code avoiding unwanted breaking
changes while at the same time auto-update their packages
These are the advantage of node.js
- NodeJS is lightweight and efficient because Node.js uses event-driven, non-blocking I/O model
- NodeJS is run across distributed devices and is Ideal for data-intensive real-time applications.
- Nodejs helps to create web sockets in web site which helps of aim of creating real-time websites with push capabilities
- Nodejs is download standalone tools you can use right away.


No comments:
Write comments