linx-simulator2/node_modules/has-cors
2019-11-22 09:43:37 +00:00
..
.npmignore Simulator first commit 2019-09-18 11:11:16 +03:00
component.json Simulator first commit 2019-09-18 11:11:16 +03:00
History.md Simulator first commit 2019-09-18 11:11:16 +03:00
index.js Simulator first commit 2019-09-18 11:11:16 +03:00
Makefile Simulator first commit 2019-09-18 11:11:16 +03:00
package.json Added custom log name 2019-11-22 09:43:37 +00:00
Readme.md Simulator first commit 2019-09-18 11:11:16 +03:00
test.js Simulator first commit 2019-09-18 11:11:16 +03: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