dockerized_openAger/nodered/rootfs/data/node_modules/has-cors
valki 664c6d8ca3 Intial Commit 2020-10-17 18:42:50 +02:00
..
.npmignore Intial Commit 2020-10-17 18:42:50 +02:00
History.md Intial Commit 2020-10-17 18:42:50 +02:00
Makefile Intial Commit 2020-10-17 18:42:50 +02:00
Readme.md Intial Commit 2020-10-17 18:42:50 +02:00
component.json Intial Commit 2020-10-17 18:42:50 +02:00
index.js Intial Commit 2020-10-17 18:42:50 +02:00
package.json Intial Commit 2020-10-17 18:42:50 +02:00
test.js Intial Commit 2020-10-17 18:42:50 +02: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