http-server : A simple zero-configuration command-line http server. You can installing http-server 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 http-server $ sudo npm install -g http-server
If want to update the http-server package execute the command as below,
$ sudo npm update http-server
Update package globally,
$ npm install -g http-server
$ sudo git clone https://github.com/rektide/http-server.git
$ sudo npm install -g ./http-server
http-server@0.10.0 /usr/lib/node_modules/http-server
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall http-server
Package Name | http-server |
Version | 0.10.0 |
Description | A simple zero-configuration command-line http server |
Released Date | 2017-05-01T17:44:13.992Z |
Published by | bigbluehat |
How to Learn | https://www.npmjs.com/package/http-server/tutorial |