Vinícius Ernani de Carvalho 6c4544a079 Create the backend | 5 years ago | |
---|---|---|
.. | ||
.npmignore | 5 years ago | |
History.md | 5 years ago | |
Makefile | 5 years ago | |
Readme.md | 5 years ago | |
component.json | 5 years ago | |
index.js | 5 years ago | |
package.json | 5 years ago | |
test.js | 5 years 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