吕君喜 406d880ac6 first 3 лет назад
..
.npmignore 406d880ac6 first 3 лет назад
History.md 406d880ac6 first 3 лет назад
Makefile 406d880ac6 first 3 лет назад
Readme.md 406d880ac6 first 3 лет назад
component.json 406d880ac6 first 3 лет назад
index.js 406d880ac6 first 3 лет назад
package.json 406d880ac6 first 3 лет назад
test.js 406d880ac6 first 3 лет назад

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