kiruthiga 55473b7e7c initial push 5 дней назад
..
.npmignore 55473b7e7c initial push 5 дней назад
History.md 55473b7e7c initial push 5 дней назад
Makefile 55473b7e7c initial push 5 дней назад
Readme.md 55473b7e7c initial push 5 дней назад
component.json 55473b7e7c initial push 5 дней назад
index.js 55473b7e7c initial push 5 дней назад
package.json 55473b7e7c initial push 5 дней назад
test.js 55473b7e7c initial push 5 дней назад

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