likelikelike/node_modules/has-cors
molleindustria 063436a3dd first commit
publish it
..
.npmignore first commit
History.md first commit
Makefile first commit
Readme.md first commit
component.json first commit
index.js first commit
package.json first commit
test.js first commit

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