落日晚风 cff33ad7d1 清空 2 vuotta sitten
..
.npmignore cff33ad7d1 清空 2 vuotta sitten
History.md cff33ad7d1 清空 2 vuotta sitten
Makefile cff33ad7d1 清空 2 vuotta sitten
Readme.md cff33ad7d1 清空 2 vuotta sitten
component.json cff33ad7d1 清空 2 vuotta sitten
index.js cff33ad7d1 清空 2 vuotta sitten
package.json cff33ad7d1 清空 2 vuotta sitten
test.js cff33ad7d1 清空 2 vuotta sitten

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