|
|
hai 1 ano | |
|---|---|---|
| .. | ||
| .npmignore | hai 1 ano | |
| History.md | hai 1 ano | |
| Makefile | hai 1 ano | |
| Readme.md | hai 1 ano | |
| component.json | hai 1 ano | |
| index.js | hai 1 ano | |
| package.json | hai 1 ano | |
| test.js | hai 1 ano | |
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