|
hace 1 año | |
---|---|---|
.. | ||
.npmignore | hace 1 año | |
History.md | hace 1 año | |
Makefile | hace 1 año | |
Readme.md | hace 1 año | |
component.json | hace 1 año | |
index.js | hace 1 año | |
package.json | hace 1 año | |
test.js | hace 1 año |
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