DFS_Shuo_Chen e2eb47a926 V1.16.9 пре 6 месеци
..
.npmignore e2eb47a926 V1.16.9 пре 6 месеци
History.md e2eb47a926 V1.16.9 пре 6 месеци
Makefile e2eb47a926 V1.16.9 пре 6 месеци
Readme.md e2eb47a926 V1.16.9 пре 6 месеци
component.json e2eb47a926 V1.16.9 пре 6 месеци
index.js e2eb47a926 V1.16.9 пре 6 месеци
package.json e2eb47a926 V1.16.9 пре 6 месеци
test.js e2eb47a926 V1.16.9 пре 6 месеци

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