XuelesszzZ 94af2b8e7b 6-30-5 1 year ago
..
.npmignore 94af2b8e7b 6-30-5 1 year ago
History.md 94af2b8e7b 6-30-5 1 year ago
Makefile 94af2b8e7b 6-30-5 1 year ago
Readme.md 94af2b8e7b 6-30-5 1 year ago
component.json 94af2b8e7b 6-30-5 1 year ago
index.js 94af2b8e7b 6-30-5 1 year ago
package.json 94af2b8e7b 6-30-5 1 year ago
test.js 94af2b8e7b 6-30-5 1 year ago

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