{"_id":"has-cors","_rev":"118446","name":"has-cors","description":"Detects support for Cross-Origin Resource Sharing","dist-tags":{"latest":"1.1.0"},"maintainers":[{"name":"defunctzombie","email":""},{"name":"tootallnate","email":"nathan@tootallnate.net"}],"time":{"modified":"2021-06-03T10:53:30.000Z","created":"2014-01-26T21:04:14.820Z","1.1.0":"2014-11-12T20:55:46.377Z","1.0.3":"2014-01-26T21:04:14.820Z"},"users":{"arefm":true},"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"repository":{"type":"git","url":"git://github.com/component/has-cors.git"},"versions":{"1.1.0":{"name":"has-cors","version":"1.1.0","description":"Detects support for Cross-Origin Resource Sharing","main":"index.js","repository":{"type":"git","url":"git://github.com/component/has-cors.git"},"keywords":["cors","cross","origin","resource","sharing","domain"],"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"license":"MIT","component":{"scripts":{"has-cors/index.js":"index.js"}},"devDependencies":{"mocha":"^2.0","chai":"^1.10"},"scripts":{"test":"mocha"},"gitHead":"27e9b96726b669e9594350585cc1e97474d3f995","bugs":{"url":"https://github.com/component/has-cors/issues"},"homepage":"https://github.com/component/has-cors","_id":"has-cors@1.1.0","_shasum":"5e474793f7ea9843d1bb99c23eef49ff126fff39","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"shtylman","email":"shtylman@gmail.com"},"maintainers":[{"name":"defunctzombie","email":""},{"name":"tootallnate","email":"nathan@tootallnate.net"}],"dist":{"shasum":"5e474793f7ea9843d1bb99c23eef49ff126fff39","size":1497,"noattachment":false,"key":"/has-cors/-/has-cors-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/has-cors/download/has-cors-1.1.0.tgz"},"directories":{},"publish_time":1415825746377,"_cnpm_publish_time":1415825746377,"_hasShrinkwrap":false},"1.0.3":{"name":"has-cors","version":"1.0.3","description":"Detects support for Cross-Origin Resource Sharing","main":"index.js","repository":{"type":"git","url":"git://github.com/component/has-cors.git"},"dependencies":{"global":"https://github.com/component/global/archive/v2.0.1.tar.gz"},"keywords":["cors","cross","origin","resource","sharing","domain"],"author":{"name":"Nathan Rajlich","email":"nathan@tootallnate.net","url":"http://n8.io/"},"license":"MIT","component":{"scripts":{"has-cors/index.js":"index.js"}},"bugs":{"url":"https://github.com/component/has-cors/issues"},"homepage":"https://github.com/component/has-cors","_id":"has-cors@1.0.3","dist":{"shasum":"502acb9b3104dac33dd2630eaf2f888b0baf4cb3","size":1261,"noattachment":false,"key":"/has-cors/-/has-cors-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/has-cors/download/has-cors-1.0.3.tgz"},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"shtylman","email":"shtylman@gmail.com"},"maintainers":[{"name":"defunctzombie","email":""},{"name":"tootallnate","email":"nathan@tootallnate.net"}],"directories":{},"publish_time":1390770254820,"_hasShrinkwrap":false,"_cnpm_publish_time":1390770254820}},"readme":"\n# has-cors\n\n  Detects support for Cross-Origin Resource Sharing\n\n## Installation\n\n  Install with [component(1)](http://component.io):\n\n    $ component install component/has-cors\n\n## API\n\nExports `true` if the user-agent supports CORS, or `false` otherwise.\n\n``` js\nvar hasCORS = require('has-cors');\nconsole.log(hasCORS);\n// true\n```\n\n## License\n\n  MIT\n","_attachments":{},"homepage":"https://github.com/component/has-cors","bugs":{"url":"https://github.com/component/has-cors/issues"},"license":"MIT"}