|
před 5 roky | |
---|---|---|
.. | ||
.npmignore | před 5 roky | |
History.md | před 5 roky | |
Makefile | před 5 roky | |
Readme.md | před 5 roky | |
component.json | před 5 roky | |
index.js | před 5 roky | |
package.json | před 5 roky | |
test.js | před 5 roky |
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