frappe_docker/frappe-bench/node_modules/has-cors
2017-07-31 15:51:51 +05:30
..
.npmignore Final docker setup 2017-07-31 15:51:51 +05:30
component.json Final docker setup 2017-07-31 15:51:51 +05:30
History.md Final docker setup 2017-07-31 15:51:51 +05:30
index.js Final docker setup 2017-07-31 15:51:51 +05:30
Makefile Final docker setup 2017-07-31 15:51:51 +05:30
package.json Final docker setup 2017-07-31 15:51:51 +05:30
Readme.md Final docker setup 2017-07-31 15:51:51 +05:30
test.js Final docker setup 2017-07-31 15:51:51 +05:30

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