落日晚风 cff33ad7d1 清空 %!s(int64=2) %!d(string=hai) anos
..
.npmignore cff33ad7d1 清空 %!s(int64=2) %!d(string=hai) anos
History.md cff33ad7d1 清空 %!s(int64=2) %!d(string=hai) anos
Makefile cff33ad7d1 清空 %!s(int64=2) %!d(string=hai) anos
Readme.md cff33ad7d1 清空 %!s(int64=2) %!d(string=hai) anos
component.json cff33ad7d1 清空 %!s(int64=2) %!d(string=hai) anos
index.js cff33ad7d1 清空 %!s(int64=2) %!d(string=hai) anos
package.json cff33ad7d1 清空 %!s(int64=2) %!d(string=hai) anos
test.js cff33ad7d1 清空 %!s(int64=2) %!d(string=hai) anos

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