suyiScreen/node_modules/has-cors
何嘉峣 86fcfee13c 代码提交 2022-12-09 09:24:19 +08:00
..
.npmignore 代码提交 2022-12-09 09:24:19 +08:00
History.md 代码提交 2022-12-09 09:24:19 +08:00
Makefile 代码提交 2022-12-09 09:24:19 +08:00
Readme.md 代码提交 2022-12-09 09:24:19 +08:00
component.json 代码提交 2022-12-09 09:24:19 +08:00
index.js 代码提交 2022-12-09 09:24:19 +08:00
package.json 代码提交 2022-12-09 09:24:19 +08:00
test.js 代码提交 2022-12-09 09:24:19 +08:00

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