YOU GUESS b00a6156a8 代码上传 1 год назад
..
.npmignore b00a6156a8 代码上传 1 год назад
History.md b00a6156a8 代码上传 1 год назад
Makefile b00a6156a8 代码上传 1 год назад
Readme.md b00a6156a8 代码上传 1 год назад
component.json b00a6156a8 代码上传 1 год назад
index.js b00a6156a8 代码上传 1 год назад
package.json b00a6156a8 代码上传 1 год назад
test.js b00a6156a8 代码上传 1 год назад

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