NodeJs Session03
- 2. 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
- 3. 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
- 8. 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