How to Install serve-static NPM Packages on Ubuntu / Debian

How to Install serve-static software package in NPM Packages

serve-static : Serve static files. You can installing serve-static 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 serve-static
$ sudo npm install -g serve-static

If want to update the serve-static package execute the command as below,

$ sudo npm update serve-static

Update package globally,

$ npm install -g serve-static

Git clone:

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

serve-static@1.13.1 /usr/lib/node_modules/serve-static

How to remove serve-static package :

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

$ sudo npm uninstall serve-static

Basic Information of serve-static NPM Package:

Package Name serve-static
Version 1.13.1
Description Serve static files
Released Date 2017-09-29T20:11:08.976Z
Published by dougwilson
How to Learn https://www.npmjs.com/package/serve-static/tutorial