落日晚风 cff33ad7d1 清空 il y a 2 ans
..
.npmignore cff33ad7d1 清空 il y a 2 ans
History.md cff33ad7d1 清空 il y a 2 ans
Makefile cff33ad7d1 清空 il y a 2 ans
Readme.md cff33ad7d1 清空 il y a 2 ans
component.json cff33ad7d1 清空 il y a 2 ans
index.js cff33ad7d1 清空 il y a 2 ans
package.json cff33ad7d1 清空 il y a 2 ans
test.js cff33ad7d1 清空 il y a 2 ans

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