chensenlai 10988628a0 语音房项目初始化 5 år sedan
..
.npmignore 10988628a0 语音房项目初始化 5 år sedan
History.md 10988628a0 语音房项目初始化 5 år sedan
Makefile 10988628a0 语音房项目初始化 5 år sedan
Readme.md 10988628a0 语音房项目初始化 5 år sedan
component.json 10988628a0 语音房项目初始化 5 år sedan
index.js 10988628a0 语音房项目初始化 5 år sedan
package.json 10988628a0 语音房项目初始化 5 år sedan
test.js 10988628a0 语音房项目初始化 5 år sedan

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