GamePortrait/node_modules/has-cors
2026-01-16 17:47:53 +08:00
..
.npmignore Initial commit: GamePortrait 竖屏版 - 深色豪华主题 2026-01-16 17:47:53 +08:00
component.json Initial commit: GamePortrait 竖屏版 - 深色豪华主题 2026-01-16 17:47:53 +08:00
History.md Initial commit: GamePortrait 竖屏版 - 深色豪华主题 2026-01-16 17:47:53 +08:00
index.js Initial commit: GamePortrait 竖屏版 - 深色豪华主题 2026-01-16 17:47:53 +08:00
Makefile Initial commit: GamePortrait 竖屏版 - 深色豪华主题 2026-01-16 17:47:53 +08:00
package.json Initial commit: GamePortrait 竖屏版 - 深色豪华主题 2026-01-16 17:47:53 +08:00
Readme.md Initial commit: GamePortrait 竖屏版 - 深色豪华主题 2026-01-16 17:47:53 +08:00
test.js Initial commit: GamePortrait 竖屏版 - 深色豪华主题 2026-01-16 17:47:53 +08:00

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