urbanu619 e168f54beb first commit 10 luni în urmă
..
.npmignore e168f54beb first commit 10 luni în urmă
History.md e168f54beb first commit 10 luni în urmă
Makefile e168f54beb first commit 10 luni în urmă
Readme.md e168f54beb first commit 10 luni în urmă
component.json e168f54beb first commit 10 luni în urmă
index.js e168f54beb first commit 10 luni în urmă
package.json e168f54beb first commit 10 luni în urmă
test.js e168f54beb first commit 10 luni în urmă

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