mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-12 05:31:41 +00:00
update
This commit is contained in:
24
node_modules/has-cors/Readme.md
generated
vendored
Normal file
24
node_modules/has-cors/Readme.md
generated
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
|
||||
# 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
|
Reference in New Issue
Block a user