arnweb-chat/node_modules/has-cors
2019-08-21 13:25:55 +02:00
..
.npmignore Installed node.js modules and added readme.md 2019-08-21 13:25:55 +02:00
component.json Installed node.js modules and added readme.md 2019-08-21 13:25:55 +02:00
History.md Installed node.js modules and added readme.md 2019-08-21 13:25:55 +02:00
index.js Installed node.js modules and added readme.md 2019-08-21 13:25:55 +02:00
Makefile Installed node.js modules and added readme.md 2019-08-21 13:25:55 +02:00
package.json Installed node.js modules and added readme.md 2019-08-21 13:25:55 +02:00
Readme.md Installed node.js modules and added readme.md 2019-08-21 13:25:55 +02:00
test.js Installed node.js modules and added readme.md 2019-08-21 13:25:55 +02:00

has-cors

Detects support for Cross-Origin Resource Sharing

Installation

Install with component(1):

$ component install component/has-cors

API

Exports true if the user-agent supports CORS, or false otherwise.

var hasCORS = require('has-cors');
console.log(hasCORS);
// true

License

MIT