micro-cors : Simple CORS middleware for Zeits Micro. You can installing micro-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 micro-cors $ sudo npm install -g micro-cors
If want to update the micro-cors package execute the command as below,
$ sudo npm update micro-cors
Update package globally,
$ npm install -g micro-cors
$ sudo git clone https://github.com/rektide/micro-cors.git
$ sudo npm install -g ./micro-cors
micro-cors@0.0.4 /usr/lib/node_modules/micro-cors
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall micro-cors
Package Name | micro-cors |
Version | 0.0.4 |
Description | Simple CORS middleware for Zeits Micro |
Released Date | 2017-04-05T18:55:05.918Z |
Published by | possibilities |
How to Learn | https://www.npmjs.com/package/micro-cors/tutorial |