XuelesszzZ 94af2b8e7b 6-30-5 | 1 year ago | |
---|---|---|
.. | ||
.npmignore | 1 year ago | |
History.md | 1 year ago | |
Makefile | 1 year ago | |
Readme.md | 1 year ago | |
component.json | 1 year ago | |
index.js | 1 year ago | |
package.json | 1 year ago | |
test.js | 1 year ago |
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