koa-json : pretty (non-compressed) json response middleware. You can installing koa-json 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-json $ sudo npm install -g koa-json
If want to update the koa-json package execute the command as below,
$ sudo npm update koa-json
Update package globally,
$ npm install -g koa-json
$ sudo git clone https://github.com/rektide/koa-json.git
$ sudo npm install -g ./koa-json
koa-json@2.0.2 /usr/lib/node_modules/koa-json
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall koa-json
Package Name | koa-json |
Version | 2.0.2 |
Description | pretty (non-compressed) json response middleware |
Released Date | 2016-04-28T05:27:53.612Z |
Published by | coderhaoxin |
How to Learn | https://www.npmjs.com/package/koa-json/tutorial |