2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2025-01-29 01:58:35 +00:00

25 lines
354 B
Markdown
Raw Normal View History

2017-07-31 15:51:51 +05:30
# 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