|
лет назад: 5 | |
---|---|---|
.. | ||
.npmignore | лет назад: 5 | |
History.md | лет назад: 5 | |
Makefile | лет назад: 5 | |
Readme.md | лет назад: 5 | |
component.json | лет назад: 5 | |
index.js | лет назад: 5 | |
package.json | лет назад: 5 | |
test.js | лет назад: 5 |
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