Sha256: 6b4a9c6928ef909dbded104ef9aa2640878ca88004090016481d37d1426213b5
Contents?: true
Size: 354 Bytes
Versions: 92
Compression:
Stored size: 354 Bytes
Contents
# has-cors Detects support for Cross-Origin Resource Sharing ## Installation Install with [component(1)](http://component.io): $ component install component/has-cors ## API Exports `true` if the user-agent supports CORS, or `false` otherwise. ``` js var hasCORS = require('has-cors'); console.log(hasCORS); // true ``` ## License MIT
Version data entries
92 entries across 92 versions & 4 rubygems