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

How to Install koa-static software package in NPM Packages

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

Git clone:

$ 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

How to remove koa-static package :

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

$ sudo npm uninstall koa-static

Basic Information of koa-static NPM Package:

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