SlideShare a Scribd company logo
Workshop
@
Ramnshee Infotech
By Jainul Musani
3
SESSION:03
Node.js Package Manager - NPM
 Node Package Manager (NPM) is a command line
tool that installs, updates or uninstalls Node.js
packages in your application.
 It is also an online repository for open-source
Node.js packages.
 The node community around the world creates
useful modules and publishes them as packages in
this repository.
SESSION:03
Node.js Package Manager - NPM
 NPM is included with Node.js installation.
 After you install Node.js, verify NPM installation by writing
the following command in terminal or command prompt.
 If you have an older version of NPM then you can update it to
the latest version using the following command.
SESSION:03
Install Package Locally
SESSION:03
Add Dependency into package.json
SESSION:03
Install Package Globally
SESSION:03
Update Package
Uninstall Package
Install Package Globally
SESSION:03
Update Package
Uninstall Package
Create NodeJs web server
SESSION:03
Steps – Create HTTP Web Server
Step 1 : Include HTTP Module
Step 2 : Create Server
Step 3 : Prepare response
Step 4 : Run the Web Server
Step 5 : Test the Web Server
Create NodeJs web server
SESSION:03
Create NodeJs web server
SESSION:03

More Related Content

NodeJs Session03