koa-serve-index : Serve directory listings for koa. You can installing koa-serve-index 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 koa-serve-index $ sudo npm install -g koa-serve-index
If want to update the koa-serve-index package execute the command as below,
$ sudo npm update koa-serve-index
Update package globally,
$ npm install -g koa-serve-index
$ sudo git clone https://github.com/rektide/koa-serve-index.git
$ sudo npm install -g ./koa-serve-index
koa-serve-index@1.1.1 /usr/lib/node_modules/koa-serve-index
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall koa-serve-index
Package Name | koa-serve-index |
Version | 1.1.1 |
Description | Serve directory listings for koa |
Released Date | 2015-11-16T03:09:13.289Z |
Published by | yiminghe |
How to Learn | https://www.npmjs.com/package/koa-serve-index/tutorial |