open-embodied fa48161c03 gcc 6 miesięcy temu
..
.npmignore fa48161c03 gcc 6 miesięcy temu
History.md fa48161c03 gcc 6 miesięcy temu
Makefile fa48161c03 gcc 6 miesięcy temu
Readme.md fa48161c03 gcc 6 miesięcy temu
component.json fa48161c03 gcc 6 miesięcy temu
index.js fa48161c03 gcc 6 miesięcy temu
package.json fa48161c03 gcc 6 miesięcy temu
test.js fa48161c03 gcc 6 miesięcy temu

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