armansansd 3424b1927b first commit 2 лет назад
..
.npmignore 3424b1927b first commit 2 лет назад
History.md 3424b1927b first commit 2 лет назад
Makefile 3424b1927b first commit 2 лет назад
Readme.md 3424b1927b first commit 2 лет назад
component.json 3424b1927b first commit 2 лет назад
index.js 3424b1927b first commit 2 лет назад
package.json 3424b1927b first commit 2 лет назад
test.js 3424b1927b first commit 2 лет назад

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