AhMyth 9000392778 beta version hace 8 años
..
.npmignore 9000392778 beta version hace 8 años
History.md 9000392778 beta version hace 8 años
Makefile 9000392778 beta version hace 8 años
Readme.md 9000392778 beta version hace 8 años
component.json 9000392778 beta version hace 8 años
index.js 9000392778 beta version hace 8 años
package.json 9000392778 beta version hace 8 años
test.js 9000392778 beta version hace 8 años

Readme.md

has-cors

Detects support for Cross-Origin Resource Sharing

Installation

Install with component(1):

$ component install component/has-cors

API

Exports true if the user-agent supports CORS, or false otherwise.

var hasCORS = require('has-cors');
console.log(hasCORS);
// true

License

MIT