urbanu619 e168f54beb first commit 7 meses atrás
..
.npmignore e168f54beb first commit 7 meses atrás
History.md e168f54beb first commit 7 meses atrás
Makefile e168f54beb first commit 7 meses atrás
Readme.md e168f54beb first commit 7 meses atrás
component.json e168f54beb first commit 7 meses atrás
index.js e168f54beb first commit 7 meses atrás
package.json e168f54beb first commit 7 meses atrás
test.js e168f54beb first commit 7 meses atrás

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