How to Install morgan NPM Packages on Ubuntu / Debian

How to Install morgan software package in NPM Packages

morgan : HTTP request logger middleware for node.js. You can installing morgan npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.

$ sudo npm install morgan
$ sudo npm install -g morgan

If want to update the morgan package execute the command as below,

$ sudo npm update morgan

Update package globally,

$ npm install -g morgan

Git clone:

$ sudo  git clone https://github.com/rektide/morgan.git
$ sudo  npm install -g ./morgan

morgan@1.9.0 /usr/lib/node_modules/morgan

How to remove morgan package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall morgan

Basic Information of morgan NPM Package:

Package Name morgan
Version 1.9.0
Description HTTP request logger middleware for node.js
Released Date 2017-09-27T02:39:05.095Z
Published by dougwilson
How to Learn https://www.npmjs.com/package/morgan/tutorial