cors : Node.js CORS middleware. You can installing 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 cors $ sudo npm install -g cors
If want to update the cors package execute the command as below,
$ sudo npm update cors
Update package globally,
$ npm install -g cors
$ sudo git clone https://github.com/rektide/cors.git
$ sudo npm install -g ./cors
cors@2.8.4 /usr/lib/node_modules/cors
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall cors
Package Name | cors |
Version | 2.8.4 |
Description | Node.js CORS middleware |
Released Date | 2017-07-13T02:50:19.018Z |
Published by | dougwilson |
How to Learn | https://www.npmjs.com/package/cors/tutorial |