koa-static : Static file serving middleware for koa. You can installing koa-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 koa-static $ sudo npm install -g koa-static
If want to update the koa-static package execute the command as below,
$ sudo npm update koa-static
Update package globally,
$ npm install -g koa-static
$ sudo git clone https://github.com/rektide/koa-static.git
$ sudo npm install -g ./koa-static
koa-static@4.0.2 /usr/lib/node_modules/koa-static
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall koa-static
Package Name | koa-static |
Version | 4.0.2 |
Description | Static file serving middleware for koa |
Released Date | 2017-11-16T06:35:09.211Z |
Published by | coderhaoxin |
How to Learn | https://www.npmjs.com/package/koa-static/tutorial |