kcors : Cross-Origin Resource Sharing(CORS) for koa. You can installing kcors 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 kcors $ sudo npm install -g kcors
If want to update the kcors package execute the command as below,
$ sudo npm update kcors
Update package globally,
$ npm install -g kcors
$ sudo git clone https://github.com/rektide/kcors.git
$ sudo npm install -g ./kcors
kcors@2.2.1 /usr/lib/node_modules/kcors
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall kcors
Package Name | kcors |
Version | 2.2.1 |
Description | Cross-Origin Resource Sharing(CORS) for koa |
Released Date | 2017-02-11T19:07:48.550Z |
Published by | fengmk2 |
How to Learn | https://www.npmjs.com/package/kcors/tutorial |