antv-l7/node_modules/has-cors
thinkinggis f7e5376b7d fix(fix css): fix css png 2019-11-22 18:04:14 +08:00
..
.npmignore fix(fix css): fix css png 2019-11-22 18:04:14 +08:00
History.md fix(fix css): fix css png 2019-11-22 18:04:14 +08:00
Makefile fix(fix css): fix css png 2019-11-22 18:04:14 +08:00
Readme.md fix(fix css): fix css png 2019-11-22 18:04:14 +08:00
component.json fix(fix css): fix css png 2019-11-22 18:04:14 +08:00
index.js fix(fix css): fix css png 2019-11-22 18:04:14 +08:00
package.json fix(fix css): fix css png 2019-11-22 18:04:14 +08:00
test.js fix(fix css): fix css png 2019-11-22 18:04:14 +08:00

Readme.md

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