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