has-cors : Detects support for Cross-Origin Resource Sharing. You can installing has-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 has-cors $ sudo npm install -g has-cors
If want to update the has-cors package execute the command as below,
$ sudo npm update has-cors
Update package globally,
$ npm install -g has-cors
$ sudo git clone https://github.com/rektide/has-cors.git
$ sudo npm install -g ./has-cors
has-cors@1.1.0 /usr/lib/node_modules/has-cors
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall has-cors
Package Name | has-cors |
Version | 1.1.0 |
Description | Detects support for Cross-Origin Resource Sharing |
Released Date | 2014-11-12T20:55:46.377Z |
Published by | shtylman |
How to Learn | https://www.npmjs.com/package/has-cors/tutorial |