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