{"_id":"cors","_rev":"4109529","name":"cors","description":"Node.js CORS middleware","dist-tags":{"latest":"2.8.6"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"time":{"modified":"2026-01-28T01:44:38.000Z","created":"2013-01-31T04:13:41.715Z","2.8.6":"2026-01-22T14:41:30.223Z","2.8.5":"2018-11-04T21:00:13.277Z","2.8.4":"2017-07-13T02:50:19.018Z","2.8.3":"2017-03-30T02:59:39.822Z","2.8.2":"2017-03-29T00:57:15.205Z","2.8.1":"2016-09-08T20:36:14.237Z","2.8.0":"2016-08-23T18:11:23.068Z","2.7.2":"2016-08-23T17:58:01.780Z","2.7.1":"2015-05-28T23:17:09.344Z","2.7.0":"2015-05-28T23:10:48.484Z","2.6.1":"2015-05-28T08:30:06.995Z","2.6.0":"2015-04-27T18:49:54.382Z","2.5.3":"2015-01-20T21:52:22.113Z","2.5.2":"2014-11-10T05:50:27.768Z","2.5.1":"2014-11-07T19:05:52.211Z","2.5.0":"2014-10-23T21:37:40.967Z","2.4.2":"2014-09-13T22:04:32.516Z","2.4.1":"2014-07-06T00:24:55.054Z","2.4.0":"2014-07-05T18:48:29.359Z","2.3.2":"2014-07-05T18:26:22.355Z","2.3.1":"2014-05-12T23:16:52.511Z","2.3.0":"2014-05-06T22:32:41.785Z","2.2.0":"2014-03-04T21:49:38.672Z","2.1.1":"2013-12-11T06:03:03.701Z","2.1.0":"2013-10-14T18:18:05.282Z","2.0.0":"2013-10-10T01:45:20.429Z","1.0.1":"2013-04-29T14:26:35.799Z","1.0.0":"2013-04-28T18:35:01.910Z","0.1.1":"2013-04-28T16:28:06.170Z","0.1.0":"2013-04-28T16:24:21.826Z","0.0.5":"2013-03-12T18:08:00.657Z","0.0.4":"2013-02-08T04:37:24.660Z","0.0.3":"2013-02-01T02:36:58.903Z","0.0.2":"2013-01-31T04:46:07.407Z","0.0.1":"2013-01-31T04:13:41.715Z"},"users":{"troygoode":true,"meggesje":true,"tcarlsen":true,"rahman":true,"devonning":true,"withinthefog":true,"akatechis":true,"mactive":true,"oliversalzburg":true,"coderaiser":true,"josephdavisco":true,"yvesm":true,"abdul":true,"akey":true,"mikend":true,"elrolito":true,"hvo986":true,"sergiodxa":true,"suprememoocow":true,"xiangpaopao":true,"pensierinmusica":true,"acjohnso25":true,"szarapka":true,"yabasha":true,"voxpelli":true,"craigw":true,"pdilyard":true,"undertuga":true,"j3kz":true,"jokecr":true,"flockonus":true,"amirmehmood":true,"markthethomas":true,"vboctor":true,"robermac":true,"everywhere.js":true,"flyslow":true,"f124275809":true,"wangnan0610":true,"sejoker":true,"softwind":true,"blind__man":true,"johnny.young":true,"dabielf":true,"sanketss84":true,"justinshea":true,"jket":true,"leny":true,"chaseshu":true,"gochomugo":true,"andriecool":true,"nanook":true,"morphesus":true,"karlbateman":true,"jakub.knejzlik":true,"bpatel":true,"tarkeshwar":true,"keanodejs":true,"fleischer":true,"docksteaderluke":true,"stephn_r":true,"qqqppp9998":true,"devdebonair":true,"grantcarthew":true,"elussich":true,"vwal":true,"panlw":true,"asahiro":true,"slowmove":true,"seachange":true,"spiros.politis":true,"shadowlong":true,"jyounce":true,"totolicious":true,"jamesbedont":true,"kobleistvan":true,"dbck":true,"animustechnology":true,"rajivmehtajs":true,"cfleschhut":true,"milfromoz":true,"shaddyhm":true,"alincode":true,"psmorrow":true,"antoine129":true,"tobitobitobi":true,"sofrente":true,"sqrtthree":true,"antoniordo":true,"shaomingquan":true,"sammyteahan":true,"brend":true,"andyd":true,"marlongrape":true,"maniktyagi":true,"travm":true,"alvajc":true,"hyungdookil":true,"coolhanddev":true,"annesrinivas":true,"marcosc90":true,"ghe1219":true,"igorissen":true,"chrisjordanme":true,"devalphac":true,"derickdsouza":true,"hckhanh":true,"wkaifang":true,"snarky":true,"ayoungh":true,"rochejul":true,"ackhub":true,"geekwen":true,"tobyforever":true,"malloryerik":true,"jmsherry":true,"dpjayasekara":true,"sammok2003":true,"gauthierm":true,"firerishi":true,"dylanh724":true,"mobeicaoyuan":true,"robba.jt":true,"hoverbaum":true,"imappbox":true,"abuelwafa":true,"alin.alexa":true,"dburdese":true,"avanthikameenakshi":true,"dabin":true,"tmurngon":true,"windupdurb":true,"rohitchris":true,"ognjen.jevremovic":true,"chunxchun":true,"antixrist":true,"muroc":true,"ahvonenj":true,"webbot":true,"jpshankle":true,"langri-sha":true,"zhanghaili":true,"jeremygaither":true,"faeliaso":true,"jamiechoi":true,"adrian110288":true,"nickleefly":true,"ab.moon":true,"albertofdzm":true,"largepuma":true,"hibrahimsafak":true,"chirag8642":true,"gggauravgandhi":true,"pr-anoop":true,"mrbgit":true,"mauricedb":true,"evdokimovm":true,"davidgatti":true,"matiasherranz":true,"nguyenxuantruong.dev":true,"wheelo":true,"yong_a":true,"sternelee":true,"satoru":true,"gabestevy":true,"kkk123321":true,"tdevm":true,"leonzhao":true,"klombomb":true,"merkjs":true,"serge-nikitin":true,"quafoo":true,"nauhil":true,"xfloops":true,"jaguarj":true,"rocket0191":true,"shanewholloway":true,"iliyat":true,"itonyyo":true,"bvaccc":true,"dtoki":true,"alanerzhao":true,"morogasper":true,"modood":true,"edwardxyt":true,"zvit":true,"igasho":true,"hektve87":true,"asaupup":true,"pddivine":true,"adityathebe":true,"fredcorn":true,"maxwelldu":true,"bigbird92":true,"kuzmicheff":true,"alexxnica":true,"freech":true,"kulyk404":true,"andysw":true,"heartnett":true,"ahmed-dinar":true,"larrychen":true,"karzanosman984":true,"lyaotian":true,"martinspinks":true,"faraoman":true,"mtdalpizzol":true,"rethinkflash":true,"samar":true,"enanchen":true,"julianomontini":true,"sidkb":true,"thangakumar":true,"delacap":true,"derycktse":true,"axiang":true,"joseph320":true,"isayme":true,"abhijitkalta":true,"krostyslav":true,"usex":true,"gzg1500521074":true,"mmork":true,"npmmurali":true,"ambition101":true,"xyyjk":true,"bengi":true,"cbetancourt":true,"nazy":true,"fabioper":true,"zalithka":true,"nuwaio":true,"sayrilamar":true,"n0f3":true,"themadjoker":true,"maddas":true,"zhqgit":true,"astesio":true,"pajamasam":true,"dh19911021":true,"ash0080":true,"dccunni171":true,"benel":true,"owillo":true,"456wyc":true,"vparaskevas":true,"superchenney":true,"hewenxuan":true,"ezeikel":true,"shivayl":true,"yb1997":true,"akinhwan":true,"christopheredrian":true,"ostgals":true,"nunogee":true,"jasonwang1888":true,"he313572052":true,"ysk8":true,"midascreed":true,"natterstefan":true,"karnavpargi":true,"alicebox":true,"horrorandtropics":true,"avivharuzi":true,"kogakure":true,"jussipekka":true,"guzhongren":true,"maycon_ribeiro":true,"eduarte78":true,"neomorphic":true,"gokulnk":true,"wandyezj":true,"yanghcc":true,"vivekrp":true,"deerflow":true,"abhutch":true},"author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"repository":{"type":"git","url":"git+https://github.com/expressjs/cors.git"},"versions":{"2.8.6":{"name":"cors","description":"Node.js CORS middleware","version":"2.8.6","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"license":"MIT","keywords":["cors","express","connect","middleware"],"repository":{"type":"git","url":"git+https://github.com/expressjs/cors.git"},"funding":{"type":"opencollective","url":"https://opencollective.com/express"},"main":"./lib/index.js","dependencies":{"object-assign":"^4","vary":"^1"},"devDependencies":{"after":"0.8.2","eslint":"7.30.0","express":"4.21.2","mocha":"9.2.2","nyc":"15.1.0","supertest":"6.1.3"},"engines":{"node":">= 0.10"},"scripts":{"test":"npm run lint && npm run test-ci","test-ci":"nyc --reporter=lcov --reporter=text mocha --require test/support/env","lint":"eslint lib test"},"_id":"cors@2.8.6","gitHead":"f00a8c1f0af727ffe5ed35f3b2d0b1a7eb4b65bb","bugs":{"url":"https://github.com/expressjs/cors/issues"},"homepage":"https://github.com/expressjs/cors#readme","_nodeVersion":"22.10.0","_npmVersion":"10.9.0","dist":{"shasum":"ff5dd69bd95e547503820d29aba4f8faf8dfec96","size":6456,"noattachment":false,"key":"/cors/-/cors-2.8.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-2.8.6.tgz"},"_npmUser":{"name":"ulisesgascon","email":"ulisesgascondev@gmail.com"},"directories":{},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cors_2.8.6_1769092890088_0.15137495042247529"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-22T14:41:30.223Z","publish_time":1769092890223,"_source_registry_name":"default","_cnpm_publish_time":1769092890223},"2.8.5":{"name":"cors","description":"Node.js CORS middleware","version":"2.8.5","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"license":"MIT","keywords":["cors","express","connect","middleware"],"repository":{"type":"git","url":"git+https://github.com/expressjs/cors.git"},"main":"./lib/index.js","dependencies":{"object-assign":"^4","vary":"^1"},"devDependencies":{"after":"0.8.2","eslint":"2.13.1","express":"4.16.3","mocha":"5.2.0","nyc":"13.1.0","supertest":"3.3.0"},"engines":{"node":">= 0.10"},"scripts":{"test":"npm run lint && nyc --reporter=html --reporter=text mocha --require test/support/env","lint":"eslint lib test"},"gitHead":"9158a8686d64bf567440d030873378c429ad60b0","bugs":{"url":"https://github.com/expressjs/cors/issues"},"homepage":"https://github.com/expressjs/cors#readme","_id":"cors@2.8.5","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"dist":{"shasum":"eac11da51592dd86b9f06f6e7ac293b3df875d29","size":6173,"noattachment":false,"key":"/cors/-/cors-2.8.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-2.8.5.tgz"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cors_2.8.5_1541365213146_0.114361639846984"},"_hasShrinkwrap":false,"publish_time":1541365213277,"_cnpm_publish_time":1541365213277},"2.8.4":{"name":"cors","description":"Node.js CORS middleware","version":"2.8.4","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"keywords":["cors","express","connect","middleware"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/expressjs/cors.git"},"main":"./lib/index.js","engines":{"node":">=0.10.0"},"dependencies":{"object-assign":"^4","vary":"^1"},"devDependencies":{"basic-auth-connect":"^1.0.0","body-parser":"^1.12.4","eslint":"^0.21.2","express":"^4.12.4","istanbul":"^0.4.5","mocha":"3.4.2","should":"11.2.1","supertest":"3.0.0"},"scripts":{"test":"npm run lint && istanbul cover node_modules/mocha/bin/_mocha","lint":"eslint lib test"},"gitHead":"c6ed038edc4a483096ded79ad9a0629e4ff79000","bugs":{"url":"https://github.com/expressjs/cors/issues"},"homepage":"https://github.com/expressjs/cors#readme","_id":"cors@2.8.4","_shasum":"2bd381f2eb201020105cd50ea59da63090694686","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"dist":{"shasum":"2bd381f2eb201020105cd50ea59da63090694686","size":11157,"noattachment":false,"key":"/cors/-/cors-2.8.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-2.8.4.tgz"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cors-2.8.4.tgz_1499914217936_0.6064511660952121"},"directories":{},"publish_time":1499914219018,"_hasShrinkwrap":false,"_cnpm_publish_time":1499914219018},"2.8.3":{"name":"cors","description":"Node.js CORS middleware","version":"2.8.3","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"keywords":["cors","express","connect","middleware"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/expressjs/cors.git"},"main":"./lib/index.js","engines":{"node":">=0.10.0"},"dependencies":{"object-assign":"^4","vary":"^1"},"devDependencies":{"basic-auth-connect":"^1.0.0","body-parser":"^1.12.4","eslint":"^0.21.2","express":"^4.12.4","istanbul":"^0.4.5","mocha":"^2.2.5","should":"^6.0.3","supertest":"^1.0.1"},"scripts":{"test":"npm run lint && istanbul cover node_modules/mocha/bin/_mocha","lint":"eslint lib test"},"gitHead":"90a7881d8bf9c273ca9183e3ca95f74ce9f5aee2","bugs":{"url":"https://github.com/expressjs/cors/issues"},"homepage":"https://github.com/expressjs/cors#readme","_id":"cors@2.8.3","_shasum":"4cf78e1d23329a7496b2fc2225b77ca5bb5eb802","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.7.3","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"dist":{"shasum":"4cf78e1d23329a7496b2fc2225b77ca5bb5eb802","size":10910,"noattachment":false,"key":"/cors/-/cors-2.8.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-2.8.3.tgz"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cors-2.8.3.tgz_1490842777775_0.44825206557288766"},"directories":{},"publish_time":1490842779822,"_hasShrinkwrap":false,"_cnpm_publish_time":1490842779822},"2.8.2":{"name":"cors","description":"Node.js CORS middleware","version":"2.8.2","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"keywords":["cors","express","connect","middleware"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/expressjs/cors.git"},"main":"./lib/index.js","engines":{"node":">=0.10.0"},"dependencies":{"object-assign":"^4","vary":"^1"},"devDependencies":{"basic-auth-connect":"^1.0.0","body-parser":"^1.12.4","eslint":"^0.21.2","express":"^4.12.4","istanbul":"^0.4.5","mocha":"^2.2.5","should":"^6.0.3","supertest":"^1.0.1"},"scripts":{"test":"npm run lint && istanbul cover node_modules/mocha/bin/_mocha","lint":"eslint lib test"},"gitHead":"2c4e64718f08f5e2e7a9462c02b70863a42b9a1b","bugs":{"url":"https://github.com/expressjs/cors/issues"},"homepage":"https://github.com/expressjs/cors#readme","_id":"cors@2.8.2","_shasum":"3a6c31f5a398c87394e31555b627ea3523839080","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.5","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"dist":{"shasum":"3a6c31f5a398c87394e31555b627ea3523839080","size":10505,"noattachment":false,"key":"/cors/-/cors-2.8.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-2.8.2.tgz"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cors-2.8.2.tgz_1490749034978_0.576983995269984"},"directories":{},"publish_time":1490749035205,"_cnpm_publish_time":1490749035205,"_hasShrinkwrap":false},"2.8.1":{"name":"cors","version":"2.8.1","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"description":"middleware for dynamically or statically enabling CORS in express/connect applications","keywords":["cors","express","connect","middleware"],"homepage":"https://github.com/expressjs/cors/","repository":{"type":"git","url":"git://github.com/expressjs/cors.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"license":"MIT","bugs":{"url":"https://github.com/expressjs/cors/issues"},"main":"./lib/index.js","engines":{"node":">=0.10.0"},"dependencies":{"vary":"^1"},"devDependencies":{"basic-auth-connect":"^1.0.0","body-parser":"^1.12.4","eslint":"^0.21.2","express":"^4.12.4","mocha":"^2.2.5","should":"^6.0.3","supertest":"^1.0.1"},"scripts":{"test":"npm run lint && ./node_modules/mocha/bin/mocha","lint":"./node_modules/eslint/bin/eslint.js lib test"},"gitHead":"458804a9ebd71a205a22d41da60f4cc5502a7776","_id":"cors@2.8.1","_shasum":"6181aa56abb45a2825be3304703747ae4e9d2383","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"dist":{"shasum":"6181aa56abb45a2825be3304703747ae4e9d2383","size":10208,"noattachment":false,"key":"/cors/-/cors-2.8.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-2.8.1.tgz"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/cors-2.8.1.tgz_1473366971988_0.42439922760240734"},"directories":{},"publish_time":1473366974237,"_cnpm_publish_time":1473366974237,"_hasShrinkwrap":false},"2.8.0":{"name":"cors","version":"2.8.0","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"description":"middleware for dynamically or statically enabling CORS in express/connect applications","keywords":["cors","express","connect","middleware"],"homepage":"https://github.com/expressjs/cors/","repository":{"type":"git","url":"git://github.com/expressjs/cors.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"license":"MIT","bugs":{"url":"https://github.com/expressjs/cors/issues"},"main":"./lib/index.js","engines":{"node":">=0.10.0"},"dependencies":{"vary":"^1"},"devDependencies":{"basic-auth-connect":"^1.0.0","body-parser":"^1.12.4","eslint":"^0.21.2","express":"^4.12.4","mocha":"^2.2.5","should":"^6.0.3","supertest":"^1.0.1"},"scripts":{"test":"npm run lint && ./node_modules/mocha/bin/mocha","lint":"./node_modules/eslint/bin/eslint.js lib test"},"gitHead":"5dae6d8caf405c8f7fb1a094f964c712f62d214e","_id":"cors@2.8.0","_shasum":"6262888a49f9ce4c5d189d29e1d5710ab73e6a85","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"dist":{"shasum":"6262888a49f9ce4c5d189d29e1d5710ab73e6a85","size":10203,"noattachment":false,"key":"/cors/-/cors-2.8.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-2.8.0.tgz"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cors-2.8.0.tgz_1471975881465_0.3300019665621221"},"directories":{},"publish_time":1471975883068,"_cnpm_publish_time":1471975883068,"_hasShrinkwrap":false},"2.7.2":{"name":"cors","version":"2.7.2","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"description":"middleware for dynamically or statically enabling CORS in express/connect applications","keywords":["cors","express","connect","middleware"],"homepage":"https://github.com/expressjs/cors/","repository":{"type":"git","url":"git://github.com/expressjs/cors.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"license":"MIT","bugs":{"url":"https://github.com/expressjs/cors/issues"},"main":"./lib/index.js","engines":{"node":">=0.10.0"},"dependencies":{"vary":"^1"},"devDependencies":{"basic-auth-connect":"^1.0.0","body-parser":"^1.12.4","eslint":"^0.21.2","express":"^4.12.4","mocha":"^2.2.5","should":"^6.0.3","supertest":"^1.0.1"},"scripts":{"test":"npm run lint && ./node_modules/mocha/bin/mocha","lint":"./node_modules/eslint/bin/eslint.js lib test"},"gitHead":"6568976a0c2948ba602d0f20205a5b33c6f2faea","_id":"cors@2.7.2","_shasum":"21385debfff24c223a10605b82311452999a1cbb","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"dist":{"shasum":"21385debfff24c223a10605b82311452999a1cbb","size":10082,"noattachment":false,"key":"/cors/-/cors-2.7.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-2.7.2.tgz"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cors-2.7.2.tgz_1471975079663_0.5144260262604803"},"directories":{},"publish_time":1471975081780,"_cnpm_publish_time":1471975081780,"_hasShrinkwrap":false},"2.7.1":{"name":"cors","version":"2.7.1","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"description":"middleware for dynamically or statically enabling CORS in express/connect applications","keywords":["cors","express","connect","middleware"],"homepage":"https://github.com/expressjs/cors/","repository":{"type":"git","url":"git://github.com/expressjs/cors.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"license":"MIT","bugs":{"url":"https://github.com/expressjs/cors/issues"},"main":"./lib/index.js","engines":{"node":">=0.10.0"},"dependencies":{"vary":"^1"},"devDependencies":{"basic-auth-connect":"^1.0.0","body-parser":"^1.12.4","eslint":"^0.21.2","express":"^4.12.4","mocha":"^2.2.5","should":"^6.0.3","supertest":"^1.0.1"},"scripts":{"test":"npm run lint && ./node_modules/mocha/bin/mocha","lint":"./node_modules/eslint/bin/eslint.js lib test"},"gitHead":"bef1a97c22a3f15cb23ab2d9cf8e7e3f7134e107","_id":"cors@2.7.1","_shasum":"3c2e50a58af9ef8c89bee21226b099be1f02739b","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"dist":{"shasum":"3c2e50a58af9ef8c89bee21226b099be1f02739b","size":9806,"noattachment":false,"key":"/cors/-/cors-2.7.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-2.7.1.tgz"},"directories":{},"publish_time":1432855029344,"_cnpm_publish_time":1432855029344,"_hasShrinkwrap":false},"2.7.0":{"name":"cors","version":"2.7.0","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"description":"middleware for dynamically or statically enabling CORS in express/connect applications","keywords":["cors","express","connect","middleware"],"homepage":"https://github.com/troygoode/node-cors/","repository":{"type":"git","url":"git://github.com/troygoode/node-cors.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"license":"MIT","bugs":{"url":"https://github.com/troygoode/node-cors/issues"},"main":"./lib/index.js","engines":{"node":">=0.10.0"},"dependencies":{"vary":"^1"},"devDependencies":{"basic-auth-connect":"^1.0.0","body-parser":"^1.12.4","eslint":"^0.21.2","express":"^4.12.4","mocha":"^2.2.5","should":"^6.0.3","supertest":"^1.0.1"},"scripts":{"test":"npm run lint && ./node_modules/mocha/bin/mocha","lint":"./node_modules/eslint/bin/eslint.js lib test"},"gitHead":"8ec22a9b86f71389264cd961f567e72cf7db83ca","_id":"cors@2.7.0","_shasum":"8e21190caccab56d0651de4a89208ea977c6a377","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"dist":{"shasum":"8e21190caccab56d0651de4a89208ea977c6a377","size":9787,"noattachment":false,"key":"/cors/-/cors-2.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-2.7.0.tgz"},"directories":{},"publish_time":1432854648484,"_cnpm_publish_time":1432854648484,"_hasShrinkwrap":false},"2.6.1":{"name":"cors","version":"2.6.1","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"description":"middleware for dynamically or statically enabling CORS in express/connect applications","keywords":["cors","express","connect","middleware"],"homepage":"https://github.com/troygoode/node-cors/","repository":{"type":"git","url":"git://github.com/troygoode/node-cors.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"license":"MIT","bugs":{"url":"https://github.com/troygoode/node-cors/issues"},"main":"./lib/index.js","engines":{"node":">=0.10.0"},"dependencies":{"vary":"^1"},"devDependencies":{"basic-auth-connect":"^1","body-parser":"^1.4.3","express":"^4","lint":"^1.1.2","mocha":"^1.18.2","should":"^3.3.1","supertest":"^0.12"},"scripts":{"test":"./node_modules/mocha/bin/mocha","lint":"./node_modules/lint/bin/node-lint lib test"},"gitHead":"42cae8e6ddcf0640d74483eb756f5b59333c2a50","_id":"cors@2.6.1","_shasum":"5d27270a5fb8ae28fa2a7aa38613f7ec980792e9","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"dist":{"shasum":"5d27270a5fb8ae28fa2a7aa38613f7ec980792e9","size":9444,"noattachment":false,"key":"/cors/-/cors-2.6.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-2.6.1.tgz"},"directories":{},"publish_time":1432801806995,"_cnpm_publish_time":1432801806995,"_hasShrinkwrap":false},"2.6.0":{"name":"cors","version":"2.6.0","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"description":"middleware for dynamically or statically enabling CORS in express/connect applications","keywords":["cors","express","connect","middleware"],"homepage":"https://github.com/troygoode/node-cors/","repository":{"type":"git","url":"git://github.com/troygoode/node-cors.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/troygoode/node-cors/issues"},"main":"./lib/index.js","engines":{"node":">=0.10.0"},"dependencies":{"vary":"^1"},"devDependencies":{"basic-auth-connect":"^1","body-parser":"^1.4.3","express":"^4","lint":"^1.1.2","mocha":"^1.18.2","should":"^3.3.1","supertest":"^0.12"},"scripts":{"test":"./node_modules/mocha/bin/mocha","lint":"./node_modules/lint/bin/node-lint lib test"},"gitHead":"e56aad29cbe9a4e06ef1c5c2be17e6a4f497a90a","_id":"cors@2.6.0","_shasum":"ed0ef328fca50e13e902f1bb7063fc61d89f2974","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"dist":{"shasum":"ed0ef328fca50e13e902f1bb7063fc61d89f2974","size":9447,"noattachment":false,"key":"/cors/-/cors-2.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-2.6.0.tgz"},"directories":{},"publish_time":1430160594382,"_cnpm_publish_time":1430160594382,"_hasShrinkwrap":false},"2.5.3":{"name":"cors","version":"2.5.3","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"description":"middleware for dynamically or statically enabling CORS in express/connect applications","keywords":["cors","express","connect","middleware"],"homepage":"https://github.com/troygoode/node-cors/","repository":{"type":"git","url":"git://github.com/troygoode/node-cors.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/troygoode/node-cors/issues"},"main":"./lib/index.js","engines":{"node":">=0.10.0"},"dependencies":{"vary":"^1"},"devDependencies":{"basic-auth-connect":"^1","body-parser":"^1.4.3","express":"^4","lint":"^1.1.2","mocha":"^1.18.2","should":"^3.3.1","supertest":"^0.12"},"scripts":{"test":"./node_modules/mocha/bin/mocha","lint":"./node_modules/lint/bin/node-lint lib test"},"gitHead":"9959d2e4301bfb76e150c1c65e5ecd28924269fb","_id":"cors@2.5.3","_shasum":"0d70a211ec3b6cc9824e6cdc299c0630ef69c392","_from":".","_npmVersion":"2.1.10","_nodeVersion":"0.10.26","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"dist":{"shasum":"0d70a211ec3b6cc9824e6cdc299c0630ef69c392","size":9338,"noattachment":false,"key":"/cors/-/cors-2.5.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-2.5.3.tgz"},"directories":{},"publish_time":1421790742113,"_cnpm_publish_time":1421790742113,"_hasShrinkwrap":false},"2.5.2":{"name":"cors","version":"2.5.2","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"description":"middleware for dynamically or statically enabling CORS in express/connect applications","keywords":["cors","express","connect","middleware"],"homepage":"https://github.com/troygoode/node-cors/","repository":{"type":"git","url":"git://github.com/troygoode/node-cors.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/troygoode/node-cors/issues"},"main":"./lib/index.js","engines":{"node":">=0.10.0"},"dependencies":{"vary":"^1"},"devDependencies":{"basic-auth-connect":"^1","body-parser":"^1.4.3","express":"^4","lint":"^1.1.2","mocha":"^1.18.2","should":"^3.3.1","supertest":"^0.12"},"scripts":{"test":"./node_modules/mocha/bin/mocha","lint":"./node_modules/lint/bin/node-lint lib test"},"gitHead":"fee800f0dc13a1df5b696035f09c43b8c714371b","_id":"cors@2.5.2","_shasum":"00d5c0d1ced95001c998fa66b52c4ef931e6f8b7","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.10.26","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"dist":{"shasum":"00d5c0d1ced95001c998fa66b52c4ef931e6f8b7","size":9314,"noattachment":false,"key":"/cors/-/cors-2.5.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-2.5.2.tgz"},"directories":{},"publish_time":1415598627768,"_cnpm_publish_time":1415598627768,"_hasShrinkwrap":false},"2.5.1":{"name":"cors","version":"2.5.1","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"description":"middleware for dynamically or statically enabling CORS in express/connect applications","keywords":["cors","express","connect","middleware"],"homepage":"https://github.com/troygoode/node-cors/","repository":{"type":"git","url":"git://github.com/troygoode/node-cors.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/troygoode/node-cors/issues"},"main":"./lib/index.js","engines":{"node":">=0.10.0"},"dependencies":{"vary":"^1"},"devDependencies":{"basic-auth-connect":"^1","body-parser":"^1.4.3","express":"^4","lint":"^1.1.2","mocha":"^1.18.2","should":"^3.3.1","supertest":"^0.12"},"scripts":{"test":"./node_modules/mocha/bin/mocha","lint":"./node_modules/lint/bin/node-lint lib test"},"gitHead":"165f35e8a289e36caefc92131e8f874560bd8ce6","_id":"cors@2.5.1","_shasum":"0fe1985195ce355c775bbd36e1cd397d5e1ce069","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.10.26","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"dist":{"shasum":"0fe1985195ce355c775bbd36e1cd397d5e1ce069","size":9326,"noattachment":false,"key":"/cors/-/cors-2.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-2.5.1.tgz"},"directories":{},"publish_time":1415387152211,"_cnpm_publish_time":1415387152211,"_hasShrinkwrap":false},"2.5.0":{"name":"cors","version":"2.5.0","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"description":"middleware for dynamically or statically enabling CORS in express/connect applications","keywords":["cors","express","connect","middleware"],"homepage":"https://github.com/troygoode/node-cors/","repository":{"type":"git","url":"git://github.com/troygoode/node-cors.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/troygoode/node-cors/issues"},"main":"./lib/index.js","engines":{"node":">=0.10.0"},"dependencies":{},"devDependencies":{"basic-auth-connect":"^1","body-parser":"^1.4.3","express":"^4","lint":"^1.1.2","mocha":"^1.18.2","should":"^3.3.1","supertest":"^0.12.0"},"scripts":{"test":"./node_modules/mocha/bin/mocha","lint":"./node_modules/lint/bin/node-lint lib test"},"gitHead":"0aca42ec76993c612abf38cae27d096172c66fe5","_id":"cors@2.5.0","_shasum":"78dfe532496fec6c3e37d08dbe7cf1d3f7ad2586","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.10.26","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"dist":{"shasum":"78dfe532496fec6c3e37d08dbe7cf1d3f7ad2586","size":9089,"noattachment":false,"key":"/cors/-/cors-2.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-2.5.0.tgz"},"directories":{},"publish_time":1414100260967,"_cnpm_publish_time":1414100260967,"_hasShrinkwrap":false},"2.4.2":{"name":"cors","version":"2.4.2","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"description":"middleware for dynamically or statically enabling CORS in express/connect applications","keywords":["cors","express","connect","middleware"],"homepage":"https://github.com/troygoode/node-cors/","repository":{"type":"git","url":"git://github.com/troygoode/node-cors.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/troygoode/node-cors/issues"},"main":"./lib/index.js","engines":{"node":">=0.10.0"},"dependencies":{},"devDependencies":{"basic-auth-connect":"^1","body-parser":"^1.4.3","express":"^4","lint":"^1.1.2","mocha":"^1.18.2","should":"^3.3.1","supertest":"^0.12.0"},"scripts":{"test":"./node_modules/mocha/bin/mocha","lint":"./node_modules/lint/bin/node-lint lib test"},"gitHead":"210446e8882dd599e2f9526d048b82018f77b48b","_id":"cors@2.4.2","_shasum":"2d0fbd504855a0a76a469b3baf5bff5bb80fa331","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"dist":{"shasum":"2d0fbd504855a0a76a469b3baf5bff5bb80fa331","size":8981,"noattachment":false,"key":"/cors/-/cors-2.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-2.4.2.tgz"},"directories":{},"publish_time":1410645872516,"_cnpm_publish_time":1410645872516,"_hasShrinkwrap":false},"2.4.1":{"name":"cors","version":"2.4.1","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"description":"middleware for dynamically or statically enabling CORS in express/connect applications","keywords":["cors","express","connect","middleware"],"homepage":"https://github.com/troygoode/node-cors/","repository":{"type":"git","url":"git://github.com/troygoode/node-cors.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/troygoode/node-cors/issues"},"main":"./lib/index.js","engines":{"node":">=0.10.0","npm":"^1.4"},"dependencies":{},"devDependencies":{"body-parser":"^1.4.3","express":"^4","lint":"^1.1.2","mocha":"^1.18.2","should":"^3.3.1","supertest":"^0.12.0"},"scripts":{"test":"./node_modules/mocha/bin/mocha","lint":"./node_modules/lint/bin/node-lint lib test"},"gitHead":"893cf2cf93a0a6825944109552a35df827ea2106","_id":"cors@2.4.1","_shasum":"b09c049a7ac8d5a8f757d9a4162b6dab51621581","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"dist":{"shasum":"b09c049a7ac8d5a8f757d9a4162b6dab51621581","size":8659,"noattachment":false,"key":"/cors/-/cors-2.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-2.4.1.tgz"},"directories":{},"publish_time":1404606295054,"_cnpm_publish_time":1404606295054,"_hasShrinkwrap":false},"2.4.0":{"name":"cors","version":"2.4.0","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"description":"middleware for dynamically or statically enabling CORS in express/connect applications","keywords":["cors","express","connect","middleware"],"homepage":"https://github.com/troygoode/node-cors/","repository":{"type":"git","url":"git://github.com/troygoode/node-cors.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/troygoode/node-cors/issues"},"main":"./lib/index.js","engines":{"node":">=0.10.0","npm":"^1.4"},"dependencies":{},"devDependencies":{"body-parser":"^1.4.3","express":"^4","lint":"^1.1.2","mocha":"^1.18.2","should":"^3.3.1","supertest":"^0.12.0"},"scripts":{"test":"./node_modules/mocha/bin/mocha","lint":"./node_modules/lint/bin/node-lint lib test"},"gitHead":"9af79275f43e88994be47e8d7f5c965b11e87edb","_id":"cors@2.4.0","_shasum":"4190112c6a79c5d128c193557481b51593bb77a7","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"dist":{"shasum":"4190112c6a79c5d128c193557481b51593bb77a7","size":8710,"noattachment":false,"key":"/cors/-/cors-2.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-2.4.0.tgz"},"directories":{},"publish_time":1404586109359,"_cnpm_publish_time":1404586109359,"_hasShrinkwrap":false},"2.3.2":{"name":"cors","version":"2.3.2","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"description":"middleware for dynamically or statically enabling CORS in express/connect applications","keywords":["cors","express","connect","middleware"],"homepage":"https://github.com/troygoode/node-cors/","repository":{"type":"git","url":"git://github.com/troygoode/node-cors.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/troygoode/node-cors/issues"},"main":"./lib/index.js","engines":{"node":">=0.10.0","npm":"^1.4"},"dependencies":{},"devDependencies":{"express":"^4","lint":"^1.1.2","mocha":"^1.18.2","should":"^3.3.1","supertest":"^0.12.0"},"scripts":{"test":"./node_modules/mocha/bin/mocha","lint":"./node_modules/lint/bin/node-lint lib test"},"gitHead":"c78ed4285d59cf7a7835e33326eb63707bc1705a","_id":"cors@2.3.2","_shasum":"d8e4cbf8dabbc04e4b9956fd0f708c63ccf20cc8","_from":".","_npmVersion":"1.5.0-alpha-1","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"dist":{"shasum":"d8e4cbf8dabbc04e4b9956fd0f708c63ccf20cc8","size":7132,"noattachment":false,"key":"/cors/-/cors-2.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-2.3.2.tgz"},"directories":{},"publish_time":1404584782355,"_cnpm_publish_time":1404584782355,"_hasShrinkwrap":false},"2.3.1":{"name":"cors","version":"2.3.1","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"description":"middleware for dynamically or statically enabling CORS in express/connect applications","keywords":["cors","express","connect","middleware"],"homepage":"https://github.com/troygoode/node-cors/","repository":{"type":"git","url":"git://github.com/troygoode/node-cors.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/troygoode/node-cors/issues"},"main":"./lib/index.js","engines":{"node":">=0.8.0","npm":"^1.3"},"dependencies":{},"devDependencies":{"express":"^3","lint":"^1.1.2","mocha":"^1.18.2","should":"^3.3.1","supertest":"^0.12.0"},"scripts":{"test":"./node_modules/mocha/bin/mocha","lint":"./node_modules/lint/bin/node-lint lib test"},"_id":"cors@2.3.1","dist":{"shasum":"d223fb3763eb9475a4d05406d30e7e0344f5d00d","size":7057,"noattachment":false,"key":"/cors/-/cors-2.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-2.3.1.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"directories":{},"publish_time":1399936612511,"_cnpm_publish_time":1399936612511,"_hasShrinkwrap":false},"2.3.0":{"name":"cors","version":"2.3.0","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"description":"middleware for dynamically or statically enabling CORS in express/connect applications","keywords":["cors","express","connect","middleware"],"homepage":"https://github.com/troygoode/node-cors/","repository":{"type":"git","url":"git://github.com/troygoode/node-cors.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/troygoode/node-cors/issues"},"main":"./lib/index.js","engines":{"node":">=0.8.0"},"dependencies":{},"devDependencies":{"express":"^3","lint":"^1.1.2","mocha":"^1.18.2","should":"^3.3.1","supertest":"^0.12.0"},"scripts":{"test":"./node_modules/mocha/bin/mocha","lint":"./node_modules/lint/bin/node-lint lib test"},"_id":"cors@2.3.0","dist":{"shasum":"d7bfe9598bf427d54983cd7fab59629099bb0f17","size":6928,"noattachment":false,"key":"/cors/-/cors-2.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-2.3.0.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"directories":{},"publish_time":1399415561785,"_cnpm_publish_time":1399415561785,"_hasShrinkwrap":false},"2.2.0":{"name":"cors","version":"2.2.0","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"description":"middleware for dynamically or statically enabling CORS in express/connect applications","keywords":["cors","express","connect","middleware"],"homepage":"https://github.com/troygoode/node-cors/","repository":{"type":"git","url":"git://github.com/troygoode/node-cors.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/troygoode/node-cors/issues"},"main":"./lib/index.js","engines":{"node":">=0.8.0"},"dependencies":{},"devDependencies":{"express":"*","lint":"*","mocha":"*","should":"*","supertest":"*"},"scripts":{"test":"./node_modules/mocha/bin/mocha","lint":"./node_modules/lint/bin/node-lint lib test"},"_id":"cors@2.2.0","dist":{"shasum":"d36a4c32917a7831cb652191f702929bbd61b6ad","size":6891,"noattachment":false,"key":"/cors/-/cors-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-2.2.0.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"directories":{},"publish_time":1393969778672,"_cnpm_publish_time":1393969778672,"_hasShrinkwrap":false},"2.1.1":{"name":"cors","version":"2.1.1","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"description":"middleware for dynamically or statically enabling CORS in express/connect applications","keywords":["cors","express","connect","middleware"],"homepage":"https://github.com/troygoode/node-cors/","repository":{"type":"git","url":"git://github.com/troygoode/node-cors.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/troygoode/node-cors/issues"},"main":"./lib/index.js","engines":{"node":">=0.8.0"},"dependencies":{},"devDependencies":{"express":"*","lint":"*","mocha":"*","should":"*","supertest":"*"},"scripts":{"test":"./node_modules/mocha/bin/mocha","lint":"./node_modules/lint/bin/node-lint lib test"},"readmeFilename":"README.md","_id":"cors@2.1.1","dist":{"shasum":"affc232dd9f87c27fa8b03cc1aeac85284441786","size":6668,"noattachment":false,"key":"/cors/-/cors-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-2.1.1.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"directories":{},"publish_time":1386741783701,"_cnpm_publish_time":1386741783701,"_hasShrinkwrap":false},"2.1.0":{"name":"cors","version":"2.1.0","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"description":"middleware for dynamically or statically enabling CORS in express/connect applications","keywords":["cors","express","connect","middleware"],"homepage":"https://github.com/troygoode/node-cors/","repository":{"type":"git","url":"git://github.com/troygoode/node-cors.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/troygoode/node-cors/issues"},"main":"./lib/index.js","engines":{"node":">=0.8.0"},"dependencies":{},"devDependencies":{"express":"*","lint":"*","mocha":"*","should":"*","supertest":"*"},"scripts":{"test":"./node_modules/mocha/bin/mocha","lint":"./node_modules/lint/bin/node-lint lib test"},"readmeFilename":"README.md","_id":"cors@2.1.0","dist":{"shasum":"7f8404a5762456021884e99da31d39b7e90bb994","size":7772,"noattachment":false,"key":"/cors/-/cors-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-2.1.0.tgz"},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"directories":{},"publish_time":1381774685282,"_cnpm_publish_time":1381774685282,"_hasShrinkwrap":false},"2.0.0":{"name":"cors","version":"2.0.0","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"description":"middleware for dynamically or statically enabling CORS in express/connect applications","keywords":["cors","express","connect","middleware"],"homepage":"https://github.com/troygoode/node-cors/","repository":{"type":"git","url":"git://github.com/troygoode/node-cors.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/troygoode/troygoode/node-cors/issues"},"main":"./lib/index.js","engines":{"node":">=0.8.0"},"dependencies":{},"devDependencies":{"express":"*","lint":"*","mocha":"*","should":"*","supertest":"*"},"scripts":{"test":"./node_modules/mocha/bin/mocha","lint":"./node_modules/lint/bin/node-lint lib test"},"readmeFilename":"README.md","_id":"cors@2.0.0","dist":{"shasum":"426a7060f35347ae3235b594a42bc09d0f766d54","size":6457,"noattachment":false,"key":"/cors/-/cors-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-2.0.0.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"directories":{},"publish_time":1381369520429,"_cnpm_publish_time":1381369520429,"_hasShrinkwrap":false},"1.0.1":{"name":"cors","version":"1.0.1","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"description":"middleware for dynamically or statically enabling CORS in express/connect applications","keywords":["cors","express","connect","middleware"],"homepage":"https://github.com/troygoode/node-cors/","repository":{"type":"git","url":"git://github.com/troygoode/node-cors.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/troygoode/troygoode/node-cors/issues"},"main":"./lib/index.js","engines":{"node":">=0.8.0"},"dependencies":{},"devDependencies":{"express":"*","lint":"*","mocha":"*","should":"*","supertest":"*"},"scripts":{"test":"./node_modules/mocha/bin/mocha","lint":"./node_modules/lint/bin/node-lint lib test"},"readmeFilename":"README.md","_id":"cors@1.0.1","dist":{"shasum":"d8b18bac9460aefd5bfbb06f5d8684f7206f6d9d","size":7429,"noattachment":false,"key":"/cors/-/cors-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-1.0.1.tgz"},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"directories":{},"publish_time":1367245595799,"_cnpm_publish_time":1367245595799,"_hasShrinkwrap":false},"1.0.0":{"name":"cors","version":"1.0.0","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"description":"middleware for dynamically or statically enabling CORS in express/connect applications","keywords":["cors","express","connect","middleware"],"homepage":"https://github.com/troygoode/node-cors/","repository":{"type":"git","url":"git://github.com/troygoode/node-cors.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/troygoode/troygoode/node-cors/issues"},"main":"./lib/index.js","engines":{"node":">=0.8.0"},"dependencies":{},"devDependencies":{"express":"*","lint":"*","mocha":"*","should":"*","supertest":"*"},"scripts":{"test":"./node_modules/mocha/bin/mocha","lint":"./node_modules/lint/bin/node-lint lib test"},"readmeFilename":"README.md","_id":"cors@1.0.0","dist":{"shasum":"a1e478967477209d204340ab1991aa4e1ac72a99","size":5977,"noattachment":false,"key":"/cors/-/cors-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-1.0.0.tgz"},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"directories":{},"publish_time":1367174101910,"_cnpm_publish_time":1367174101910,"_hasShrinkwrap":false},"0.1.1":{"name":"cors","version":"0.1.1","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"description":"middleware for dynamically or statically enabling CORS in express/connect applications","keywords":["cors","express","connect","middleware"],"homepage":"https://github.com/troygoode/node-cors/","repository":{"type":"git","url":"git://github.com/troygoode/node-cors.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/troygoode/troygoode/node-cors/issues"},"main":"./lib/index.js","engines":{"node":">=0.8.0"},"dependencies":{},"devDependencies":{"express":"*","lint":"*","mocha":"*","should":"*","supertest":"*"},"scripts":{"test":"./node_modules/mocha/bin/mocha","lint":"./node_modules/lint/bin/node-lint lib test"},"readmeFilename":"README.md","_id":"cors@0.1.1","dist":{"shasum":"917cf65c8cff90971f2e41443d808253d454f7ea","size":5685,"noattachment":false,"key":"/cors/-/cors-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-0.1.1.tgz"},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"directories":{},"publish_time":1367166486170,"_cnpm_publish_time":1367166486170,"_hasShrinkwrap":false},"0.1.0":{"name":"cors","version":"0.1.0","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"description":"middleware for dynamically or statically enabling CORS in express/connect applications","keywords":["cors","express","connect","middleware"],"homepage":"https://github.com/troygoode/node-cors/","repository":{"type":"git","url":"git://github.com/troygoode/node-cors.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/troygoode/troygoode/node-cors/issues"},"main":"./lib/index.js","engines":{"node":">=0.8.0"},"dependencies":{},"devDependencies":{"express":"*","lint":"*","mocha":"*","should":"*","supertest":"*"},"scripts":{"test":"./node_modules/mocha/bin/mocha","lint":"./node_modules/lint/bin/node-lint lib test"},"readmeFilename":"README.md","_id":"cors@0.1.0","dist":{"shasum":"20bb4acc3021029bda8a21c8349c48bb29d2d9f2","size":5729,"noattachment":false,"key":"/cors/-/cors-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-0.1.0.tgz"},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"directories":{},"publish_time":1367166261826,"_cnpm_publish_time":1367166261826,"_hasShrinkwrap":false},"0.0.5":{"name":"cors","version":"0.0.5","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"description":"middleware for dynamically or statically enabling CORS in express/connect applications","keywords":["cors","express","connect","middleware"],"homepage":"https://github.com/troygoode/node-cors/","repository":{"type":"git","url":"git://github.com/troygoode/node-cors.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/troygoode/troygoode/node-cors/issues"},"main":"./lib/index.js","engines":{"node":">=0.8.0"},"dependencies":{},"devDependencies":{"mocha":"latest","should":"latest"},"scripts":{"test":"mocha","lint":"node-lint lib test"},"_id":"cors@0.0.5","dist":{"shasum":"7f7130d17191d635dc437ad2b0688ae53865c524","size":5069,"noattachment":false,"key":"/cors/-/cors-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-0.0.5.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"directories":{},"publish_time":1363111680657,"_cnpm_publish_time":1363111680657,"_hasShrinkwrap":false},"0.0.4":{"name":"cors","version":"0.0.4","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"description":"middleware for dynamically or statically enabling CORS in express/connect applications","keywords":["cors","express","connect","middleware"],"homepage":"https://github.com/troygoode/node-cors/","repository":{"type":"git","url":"git://github.com/troygoode/node-cors.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/troygoode/troygoode/node-cors/issues"},"main":"./lib/index.js","engines":{"node":">=0.8.0"},"dependencies":{},"devDependencies":{"mocha":"latest","should":"latest"},"scripts":{"test":"mocha","lint":"node-lint lib test"},"_id":"cors@0.0.4","dist":{"shasum":"5131fc707f51dc9d4afae8eececd7e6cc32cd96b","size":5030,"noattachment":false,"key":"/cors/-/cors-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-0.0.4.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"directories":{},"publish_time":1360298244660,"_cnpm_publish_time":1360298244660,"_hasShrinkwrap":false},"0.0.3":{"name":"cors","version":"0.0.3","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"description":"middleware for dynamically or statically enabling CORS in express/connect applications","keywords":["cors","express","connect","middleware"],"homepage":"https://github.com/troygoode/node-cors/","repository":{"type":"git","url":"git://github.com/troygoode/node-cors.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/troygoode/troygoode/node-cors/issues"},"main":"./lib/index.js","engines":{"node":">=0.8.0"},"dependencies":{},"devDependencies":{"mocha":"latest","should":"latest"},"scripts":{"test":"mocha"},"_id":"cors@0.0.3","dist":{"shasum":"93fe11c0749e942e7d5347eb52ea10c8dfec44e7","size":4986,"noattachment":false,"key":"/cors/-/cors-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-0.0.3.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"directories":{},"publish_time":1359686218903,"_cnpm_publish_time":1359686218903,"_hasShrinkwrap":false},"0.0.2":{"name":"cors","version":"0.0.2","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"description":"middleware for dynamically or statically enabling CORS in express/connect applications","keywords":["cors","express","connect","middleware"],"homepage":"https://github.com/troygoode/node-cors/","repository":{"type":"git","url":"git://github.com/troygoode/node-cors.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/troygoode/troygoode/node-cors/issues"},"main":"./lib/index.js","engines":{"node":">=0.8.0"},"dependencies":{},"devDependencies":{"mocha":"latest","should":"latest"},"scripts":{"test":"mocha"},"_id":"cors@0.0.2","dist":{"shasum":"1eb6033bf2939081e3868be6b71e43641b0218ff","size":4884,"noattachment":false,"key":"/cors/-/cors-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-0.0.2.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"directories":{},"publish_time":1359607567407,"_cnpm_publish_time":1359607567407,"_hasShrinkwrap":false},"0.0.1":{"name":"cors","version":"0.0.1","author":{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"},"description":"middleware for dynamically or statically enabling CORS in express/connect applications","keywords":["cors","express","connect","middleware"],"homepage":"https://github.com/troygoode/node-cors/","repository":{"type":"git","url":"git://github.com/troygoode/node-cors.git"},"contributors":[{"name":"Troy Goode","email":"troygoode@gmail.com","url":"https://github.com/troygoode/"}],"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"}],"bugs":{"url":"https://github.com/troygoode/troygoode/node-cors/issues"},"main":"./lib/index.js","engines":{"node":">=0.8.0"},"dependencies":{},"devDependencies":{"mocha":"latest","should":"latest"},"scripts":{"test":"mocha"},"_id":"cors@0.0.1","dist":{"shasum":"4354f78c02e659e6199d6b9c6f2199763e387f0d","size":4825,"noattachment":false,"key":"/cors/-/cors-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cors/download/cors-0.0.1.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"troygoode","email":"troygoode@gmail.com"},"maintainers":[{"name":"dougwilson","email":""},{"name":"troygoode","email":"troygoode@gmail.com"},{"name":"ulisesgascon","email":""}],"directories":{},"publish_time":1359605621715,"_cnpm_publish_time":1359605621715,"_hasShrinkwrap":false}},"readme":"# cors\n\n[![NPM Version][npm-image]][npm-url]\n[![NPM Downloads][downloads-image]][downloads-url]\n[![Build Status][github-actions-ci-image]][github-actions-ci-url]\n[![Test Coverage][coveralls-image]][coveralls-url]\n\nCORS is a [Node.js](https://nodejs.org/en/) middleware for [Express](https://expressjs.com/)/[Connect](https://github.com/senchalabs/connect) that sets [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CORS) response headers. These headers tell browsers which origins can read responses from your server.\n\n> [!IMPORTANT]\n> **How CORS Works:** This package sets response headers—it doesn't block requests. CORS is enforced by browsers: they check the headers and decide if JavaScript can read the response. Non-browser clients (curl, Postman, other servers) ignore CORS entirely. See the [MDN CORS guide](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CORS) for details.\n\n* [Installation](#installation)\n* [Usage](#usage)\n  * [Simple Usage](#simple-usage-enable-all-cors-requests)\n  * [Enable CORS for a Single Route](#enable-cors-for-a-single-route)\n  * [Configuring CORS](#configuring-cors)\n  * [Configuring CORS w/ Dynamic Origin](#configuring-cors-w-dynamic-origin)\n  * [Enabling CORS Pre-Flight](#enabling-cors-pre-flight)\n  * [Customizing CORS Settings Dynamically per Request](#customizing-cors-settings-dynamically-per-request)\n* [Configuration Options](#configuration-options)\n* [Common Misconceptions](#common-misconceptions)\n* [License](#license)\n* [Original Author](#original-author)\n\n## Installation\n\nThis is a [Node.js](https://nodejs.org/en/) module available through the\n[npm registry](https://www.npmjs.com/). Installation is done using the\n[`npm install` command](https://docs.npmjs.com/downloading-and-installing-packages-locally):\n\n```sh\n$ npm install cors\n```\n\n## Usage\n\n### Simple Usage (Enable *All* CORS Requests)\n\n```javascript\nvar express = require('express')\nvar cors = require('cors')\nvar app = express()\n\n// Adds headers: Access-Control-Allow-Origin: *\napp.use(cors())\n\napp.get('/products/:id', function (req, res, next) {\n  res.json({msg: 'Hello'})\n})\n\napp.listen(80, function () {\n  console.log('web server listening on port 80')\n})\n```\n\n### Enable CORS for a Single Route\n\n```javascript\nvar express = require('express')\nvar cors = require('cors')\nvar app = express()\n\n// Adds headers: Access-Control-Allow-Origin: *\napp.get('/products/:id', cors(), function (req, res, next) {\n  res.json({msg: 'Hello'})\n})\n\napp.listen(80, function () {\n  console.log('web server listening on port 80')\n})\n```\n\n### Configuring CORS\n\nSee the [configuration options](#configuration-options) for details.\n\n```javascript\nvar express = require('express')\nvar cors = require('cors')\nvar app = express()\n\nvar corsOptions = {\n  origin: 'http://example.com',\n  optionsSuccessStatus: 200 // some legacy browsers (IE11, various SmartTVs) choke on 204\n}\n\n// Adds headers: Access-Control-Allow-Origin: http://example.com, Vary: Origin\napp.get('/products/:id', cors(corsOptions), function (req, res, next) {\n  res.json({msg: 'Hello'})\n})\n\napp.listen(80, function () {\n  console.log('web server listening on port 80')\n})\n```\n\n### Configuring CORS w/ Dynamic Origin\n\nThis module supports validating the origin dynamically using a function provided\nto the `origin` option. This function will be passed a string that is the origin\n(or `undefined` if the request has no origin), and a `callback` with the signature\n`callback(error, origin)`.\n\nThe `origin` argument to the callback can be any value allowed for the `origin`\noption of the middleware, except a function. See the\n[configuration options](#configuration-options) section for more information on all\nthe possible value types.\n\nThis function is designed to allow the dynamic loading of allowed origin(s) from\na backing datasource, like a database.\n\n```javascript\nvar express = require('express')\nvar cors = require('cors')\nvar app = express()\n\nvar corsOptions = {\n  origin: function (origin, callback) {\n    // db.loadOrigins is an example call to load\n    // a list of origins from a backing database\n    db.loadOrigins(function (error, origins) {\n      callback(error, origins)\n    })\n  }\n}\n\n// Adds headers: Access-Control-Allow-Origin: <matched origin>, Vary: Origin\napp.get('/products/:id', cors(corsOptions), function (req, res, next) {\n  res.json({msg: 'Hello'})\n})\n\napp.listen(80, function () {\n  console.log('web server listening on port 80')\n})\n```\n\n### Enabling CORS Pre-Flight\n\nCertain CORS requests are considered 'complex' and require an initial\n`OPTIONS` request (called the \"pre-flight request\"). An example of a\n'complex' CORS request is one that uses an HTTP verb other than\nGET/HEAD/POST (such as DELETE) or that uses custom headers. To enable\npre-flighting, you must add a new OPTIONS handler for the route you want\nto support:\n\n```javascript\nvar express = require('express')\nvar cors = require('cors')\nvar app = express()\n\napp.options('/products/:id', cors()) // preflight for DELETE\napp.del('/products/:id', cors(), function (req, res, next) {\n  res.json({msg: 'Hello'})\n})\n\napp.listen(80, function () {\n  console.log('web server listening on port 80')\n})\n```\n\nYou can also enable pre-flight across-the-board like so:\n\n```javascript\napp.options('*', cors()) // include before other routes\n```\n\nNOTE: When using this middleware as an application level middleware (for\nexample, `app.use(cors())`), pre-flight requests are already handled for all\nroutes.\n\n### Customizing CORS Settings Dynamically per Request\n\nFor APIs that require different CORS configurations for specific routes or requests, you can dynamically generate CORS options based on the incoming request. The `cors` middleware allows you to achieve this by passing a function instead of static options. This function is called for each incoming request and must use the callback pattern to return the appropriate CORS options.\n\nThe function accepts:\n1. **`req`**: \n   - The incoming request object.\n\n2. **`callback(error, corsOptions)`**: \n   - A function used to return the computed CORS options.\n   - **Arguments**:\n     - **`error`**: Pass `null` if there’s no error, or an error object to indicate a failure.\n     - **`corsOptions`**: An object specifying the CORS policy for the current request.\n\nHere’s an example that handles both public routes and restricted, credential-sensitive routes:\n\n```javascript\nvar dynamicCorsOptions = function(req, callback) {\n  var corsOptions;\n  if (req.path.startsWith('/auth/connect/')) {\n    // Access-Control-Allow-Origin: http://mydomain.com, Access-Control-Allow-Credentials: true, Vary: Origin\n    corsOptions = {\n      origin: 'http://mydomain.com',\n      credentials: true\n    };\n  } else {\n    // Access-Control-Allow-Origin: *\n    corsOptions = { origin: '*' };\n  }\n  callback(null, corsOptions);\n};\n\napp.use(cors(dynamicCorsOptions));\n\napp.get('/auth/connect/twitter', function (req, res) {\n  res.send('Hello');\n});\n\napp.get('/public', function (req, res) {\n  res.send('Hello');\n});\n\napp.listen(80, function () {\n  console.log('web server listening on port 80')\n})\n```\n\n## Configuration Options\n\n* `origin`: Configures the **Access-Control-Allow-Origin** CORS header. Possible values:\n  - `Boolean` - set `origin` to `true` to reflect the [request origin](https://datatracker.ietf.org/doc/html/draft-abarth-origin-09), as defined by `req.header('Origin')`, or set it to `false` to disable CORS.\n  - `String` - set `origin` to a specific origin. For example, if you set it to\n    - `\"http://example.com\"` only requests from \"http://example.com\" will be allowed.\n    - `\"*\"` for all domains to be allowed. \n  - `RegExp` - set `origin` to a regular expression pattern which will be used to test the request origin. If it's a match, the request origin will be reflected. For example the pattern `/example\\.com$/` will reflect any request that is coming from an origin ending with \"example.com\".\n  - `Array` - set `origin` to an array of valid origins. Each origin can be a `String` or a `RegExp`. For example `[\"http://example1.com\", /\\.example2\\.com$/]` will accept any request from \"http://example1.com\" or from a subdomain of \"example2.com\".\n  - `Function` - set `origin` to a function implementing some custom logic. The function takes the request origin as the first parameter and a callback (called as `callback(err, origin)`, where `origin` is a non-function value of the `origin` option) as the second.\n* `methods`: Configures the **Access-Control-Allow-Methods** CORS header. Expects a comma-delimited string (ex: 'GET,PUT,POST') or an array (ex: `['GET', 'PUT', 'POST']`).\n* `allowedHeaders`: Configures the **Access-Control-Allow-Headers** CORS header. Expects a comma-delimited string (ex: 'Content-Type,Authorization') or an array (ex: `['Content-Type', 'Authorization']`). If not specified, defaults to reflecting the headers specified in the request's **Access-Control-Request-Headers** header.\n* `exposedHeaders`: Configures the **Access-Control-Expose-Headers** CORS header. Expects a comma-delimited string (ex: 'Content-Range,X-Content-Range') or an array (ex: `['Content-Range', 'X-Content-Range']`). If not specified, no custom headers are exposed.\n* `credentials`: Configures the **Access-Control-Allow-Credentials** CORS header. Set to `true` to pass the header, otherwise it is omitted.\n* `maxAge`: Configures the **Access-Control-Max-Age** CORS header. Set to an integer to pass the header, otherwise it is omitted.\n* `preflightContinue`: Pass the CORS preflight response to the next handler.\n* `optionsSuccessStatus`: Provides a status code to use for successful `OPTIONS` requests, since some legacy browsers (IE11, various SmartTVs) choke on `204`.\n\nThe default configuration is the equivalent of:\n\n```json\n{\n  \"origin\": \"*\",\n  \"methods\": \"GET,HEAD,PUT,PATCH,POST,DELETE\",\n  \"preflightContinue\": false,\n  \"optionsSuccessStatus\": 204\n}\n```\n\n## Common Misconceptions\n\n### \"CORS blocks requests from disallowed origins\"\n\n**No.** Your server receives and processes every request. CORS headers tell the browser whether JavaScript can read the response—not whether the request is allowed.\n\n### \"CORS protects my API from unauthorized access\"\n\n**No.** CORS is not access control. Any HTTP client (curl, Postman, another server) can call your API regardless of CORS settings. Use authentication and authorization to protect your API.\n\n### \"Setting `origin: 'http://example.com'` means only that domain can access my server\"\n\n**No.** It means browsers will only let JavaScript from that origin read responses. The server still responds to all requests.\n\n## License\n\n[MIT License](http://www.opensource.org/licenses/mit-license.php)\n\n## Original Author\n\n[Troy Goode](https://github.com/TroyGoode) ([troygoode@gmail.com](mailto:troygoode@gmail.com))\n\n[coveralls-image]: https://img.shields.io/coveralls/expressjs/cors/master.svg\n[coveralls-url]: https://coveralls.io/r/expressjs/cors?branch=master\n[downloads-image]: https://img.shields.io/npm/dm/cors.svg\n[downloads-url]: https://npmjs.com/package/cors\n[github-actions-ci-image]: https://img.shields.io/github/actions/workflow/status/expressjs/cors/ci.yml?branch=master&label=ci\n[github-actions-ci-url]: https://github.com/expressjs/cors?query=workflow%3Aci\n[npm-image]: https://img.shields.io/npm/v/cors.svg\n[npm-url]: https://npmjs.com/package/cors\n","_attachments":{},"homepage":"https://github.com/expressjs/cors#readme","bugs":{"url":"https://github.com/expressjs/cors/issues"},"license":"MIT"}