deepsea ca9f471156 first commit | il y a 1 an | |
---|---|---|
.. | ||
.npmignore | il y a 1 an | |
History.md | il y a 1 an | |
Makefile | il y a 1 an | |
Readme.md | il y a 1 an | |
component.json | il y a 1 an | |
index.js | il y a 1 an | |
package.json | il y a 1 an | |
test.js | il y a 1 an |
Detects support for Cross-Origin Resource Sharing
Install with component(1):
$ component install component/has-cors
Exports true
if the user-agent supports CORS, or false
otherwise.
var hasCORS = require('has-cors');
console.log(hasCORS);
// true
MIT