Files
sean 343b4a3f3f
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-19 18:32:17 -05:00
..
2026-11-19 18:32:17 -05:00
2026-11-19 18:32:17 -05:00
2026-11-19 18:32:17 -05:00
2026-11-19 18:32:17 -05:00
2026-11-19 18:32:17 -05:00
2026-11-19 18:32:17 -05:00
2026-11-19 18:32:17 -05:00
2026-11-19 18:32:17 -05: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