koa-cors : CORS middleware for Koa. You can installing koa-cors 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-cors $ sudo npm install -g koa-cors
If want to update the koa-cors package execute the command as below,
$ sudo npm update koa-cors
Update package globally,
$ npm install -g koa-cors
$ sudo git clone https://github.com/rektide/koa-cors.git
$ sudo npm install -g ./koa-cors
koa-cors@0.0.16 /usr/lib/node_modules/koa-cors
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall koa-cors
Package Name | koa-cors |
Version | 0.0.16 |
Description | CORS middleware for Koa |
Released Date | 2015-06-08T11:43:25.836Z |
Published by | evert0n |
How to Learn | https://www.npmjs.com/package/koa-cors/tutorial |