mall-uniapp/node_modules/has-cors
落日晚风 cff33ad7d1 清空 2023-12-13 11:25:22 +08:00
..
.npmignore 清空 2023-12-13 11:25:22 +08:00
History.md 清空 2023-12-13 11:25:22 +08:00
Makefile 清空 2023-12-13 11:25:22 +08:00
Readme.md 清空 2023-12-13 11:25:22 +08:00
component.json 清空 2023-12-13 11:25:22 +08:00
index.js 清空 2023-12-13 11:25:22 +08:00
package.json 清空 2023-12-13 11:25:22 +08:00
test.js 清空 2023-12-13 11:25:22 +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