arnaucube
arnaucube/raspberryGPIOhtmlserverPublic Self-hosted repository
raspberryGPIOhtmlserver/node_modules/has-cors/Readme.md
node_modules/has-cors/Readme.mdRaw
 1
 2# has-cors
 3
 4  Detects support for Cross-Origin Resource Sharing
 5
 6## Installation
 7
 8  Install with [component(1)](http://component.io):
 9
10    $ component install component/has-cors
11
12## API
13
14Exports `true` if the user-agent supports CORS, or `false` otherwise.
15
16``` js
17var hasCORS = require('has-cors');
18console.log(hasCORS);
19// true
20```
21
22## License
23
24  MIT