kiruthiga 55473b7e7c initial push 5 hari lalu
..
.npmignore 55473b7e7c initial push 5 hari lalu
History.md 55473b7e7c initial push 5 hari lalu
Makefile 55473b7e7c initial push 5 hari lalu
Readme.md 55473b7e7c initial push 5 hari lalu
component.json 55473b7e7c initial push 5 hari lalu
index.js 55473b7e7c initial push 5 hari lalu
package.json 55473b7e7c initial push 5 hari lalu
test.js 55473b7e7c initial push 5 hari lalu

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