mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-01 01:38:07 +08:00
DISABLE_THIRD_PARTY_CHECK=Package needs updating with node_modules Change-Id: I889f1b86c586e37307a3e13ad762aa56d1ece150 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1946468 Commit-Queue: Paul Lewis <aerotwist@chromium.org> Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
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