has-cors
Advanced tools
Weekly downloads
Readme
Detects support for Cross-Origin Resource Sharing
Install with component(1):
$ component install component/has-cors
Exports true
if the user-agent supports CORS, or false
otherwise.
var hasCORS = require('has-cors');
console.log(hasCORS);
// true
MIT
FAQs
Detects support for Cross-Origin Resource Sharing
The npm package has-cors receives a total of 1,823,926 weekly downloads. As such, has-cors popularity was classified as popular.
We found that has-cors demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a GitHub app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.