{"_id":"koa-route","_rev":"407938","name":"koa-route","description":"Koa route middleware","dist-tags":{"latest":"3.2.0","next":"3.2.0"},"maintainers":[{"name":"aheckmann","email":"aaron.heckmann+github@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tejasmanohar","email":"me@tejasmanohar.com"},{"name":"travisjeffery","email":""}],"time":{"modified":"2021-08-04T04:56:29.000Z","created":"2013-11-06T21:14:01.049Z","3.2.0":"2016-08-24T01:19:47.676Z","3.1.0":"2016-03-18T06:24:54.472Z","3.0.0":"2015-11-17T10:36:20.485Z","2.4.2":"2015-07-02T17:42:08.597Z","2.4.1":"2015-04-12T20:27:11.125Z","2.4.0":"2014-11-28T07:34:05.474Z","2.3.0":"2014-11-28T07:31:50.948Z","2.2.0":"2014-10-15T05:39:52.217Z","2.1.0":"2014-08-17T23:12:25.208Z","2.0.0":"2014-08-07T03:25:03.952Z","1.1.4":"2014-05-02T16:00:24.899Z","1.1.2":"2014-04-18T23:15:54.568Z","1.1.1":"2014-03-19T10:13:00.216Z","1.1.0":"2014-03-05T17:06:18.683Z","1.0.2":"2013-11-28T05:19:26.148Z","1.0.1":"2013-11-16T03:30:14.557Z","1.0.0":"2013-11-06T21:14:01.049Z"},"users":{"csbun":true,"claudionunezjr":true,"phoenix-xsy":true,"rschmidmeister":true,"adamlu":true,"dofy":true,"junjiansyu":true,"po":true,"bian17888":true,"xu_q90":true,"jessaustin":true,"ineva":true,"lijinghust":true,"ace11":true,"wouter_vdb":true,"holly":true,"djviolin":true,"brandonb927":true,"raojs":true,"shuoshubao":true,"snowdream":true,"kesteinbakk":true,"maxblock":true},"repository":{"type":"git","url":"git+https://github.com/koajs/route.git"},"versions":{"3.2.0":{"name":"koa-route","description":"Koa route middleware","repository":{"type":"git","url":"git+https://github.com/koajs/route.git"},"version":"3.2.0","keywords":["koa","middleware","routes","router","route"],"files":["index.js"],"devDependencies":{"istanbul-harmony":"0","koa":"^2.0.0-alpha.3","mocha":"^2.2.5","should":"*","supertest":"0"},"license":"MIT","dependencies":{"debug":"*","methods":"~1.1.0","path-to-regexp":"^1.2.0"},"scripts":{"test":"NODE_ENV=test mocha --harmony --require should --reporter spec","test-cov":"NODE_ENV=test node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --require should","test-travis":"NODE_ENV=test node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- --require should"},"gitHead":"15408dcfea33b78dc1dd1e2b22af1cc860c6765a","bugs":{"url":"https://github.com/koajs/route/issues"},"homepage":"https://github.com/koajs/route#readme","_id":"koa-route@3.2.0","_shasum":"76298b99a6bcfa9e38cab6fe5c79a8733e758bce","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"coderhaoxin","email":"coderhaoxin@outlook.com"},"maintainers":[{"name":"aheckmann","email":"aaron.heckmann+github@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tejasmanohar","email":"me@tejasmanohar.com"},{"name":"travisjeffery","email":""}],"dist":{"shasum":"76298b99a6bcfa9e38cab6fe5c79a8733e758bce","size":1969,"noattachment":false,"key":"/koa-route/-/koa-route-3.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-route/download/koa-route-3.2.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/koa-route-3.2.0.tgz_1472001587427_0.5868194664362818"},"directories":{},"publish_time":1472001587676,"_cnpm_publish_time":1472001587676,"_hasShrinkwrap":false},"3.1.0":{"name":"koa-route","description":"Koa route middleware","repository":{"type":"git","url":"git+https://github.com/koajs/route.git"},"version":"3.1.0","keywords":["koa","middleware","routes","router","route"],"files":["index.js"],"devDependencies":{"istanbul-harmony":"0","koa":"^2.0.0-alpha.3","mocha":"^2.2.5","should":"*","supertest":"0"},"license":"MIT","dependencies":{"debug":"*","methods":"~1.1.0","path-to-regexp":"^1.2.0"},"scripts":{"test":"NODE_ENV=test mocha --harmony --require should --reporter spec","test-cov":"NODE_ENV=test node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --require should","test-travis":"NODE_ENV=test node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- --require should"},"gitHead":"c2bf0def4d7269026a28ebfac1fb4619389a1a62","bugs":{"url":"https://github.com/koajs/route/issues"},"homepage":"https://github.com/koajs/route#readme","_id":"koa-route@3.1.0","_shasum":"94aa5601800120a2539a9e8ff434645f89640b46","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.8.0","_npmUser":{"name":"tejasmanohar","email":"me@tejas.io"},"dist":{"shasum":"94aa5601800120a2539a9e8ff434645f89640b46","size":1930,"noattachment":false,"key":"/koa-route/-/koa-route-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-route/download/koa-route-3.1.0.tgz"},"maintainers":[{"name":"aheckmann","email":"aaron.heckmann+github@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tejasmanohar","email":"me@tejasmanohar.com"},{"name":"travisjeffery","email":""}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/koa-route-3.1.0.tgz_1458282294070_0.3398074870929122"},"directories":{},"publish_time":1458282294472,"_cnpm_publish_time":1458282294472,"_hasShrinkwrap":false},"3.0.0":{"name":"koa-route","description":"Koa route middleware","repository":{"type":"git","url":"git+https://github.com/koajs/route.git"},"version":"3.0.0","keywords":["koa","middleware","routes","router","route"],"files":["index.js"],"devDependencies":{"istanbul-harmony":"0","koa":"^2.0.0-alpha.3","mocha":"^2.2.5","should":"*","supertest":"0"},"license":"MIT","dependencies":{"debug":"*","methods":"~1.1.0","path-to-regexp":"^1.2.0"},"scripts":{"test":"NODE_ENV=test mocha --harmony --require should --reporter spec","test-cov":"NODE_ENV=test node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --require should","test-travis":"NODE_ENV=test node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- --require should"},"gitHead":"5aed272a74df0c4edd324eaa637fdbb9b0b4584a","bugs":{"url":"https://github.com/koajs/route/issues"},"homepage":"https://github.com/koajs/route#readme","_id":"koa-route@3.0.0","_shasum":"0e2fb776bbf4a2a628becb251340c4b43c28b6c5","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"tejasmanohar","email":"me@tejas.io"},"dist":{"shasum":"0e2fb776bbf4a2a628becb251340c4b43c28b6c5","size":1853,"noattachment":false,"key":"/koa-route/-/koa-route-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-route/download/koa-route-3.0.0.tgz"},"maintainers":[{"name":"aheckmann","email":"aaron.heckmann+github@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tejasmanohar","email":"me@tejasmanohar.com"},{"name":"travisjeffery","email":""}],"directories":{},"publish_time":1447756580485,"_cnpm_publish_time":1447756580485,"_hasShrinkwrap":false},"2.4.2":{"name":"koa-route","description":"Koa route middleware","repository":{"type":"git","url":"git+https://github.com/koajs/route.git"},"version":"2.4.2","keywords":["koa","middleware","routes","router","route"],"files":["index.js"],"devDependencies":{"istanbul-harmony":"0","koa":"0","mocha":"^2.2.5","should":"*","supertest":"0"},"license":"MIT","dependencies":{"debug":"*","methods":"~1.1.0","path-to-regexp":"^1.2.0"},"scripts":{"test":"NODE_ENV=test mocha --harmony --require should --reporter spec","test-cov":"NODE_ENV=test node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --require should","test-travis":"NODE_ENV=test node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- --require should"},"gitHead":"b17cd9d8d9a93c5ff4addb015efc4d28a27121b2","bugs":{"url":"https://github.com/koajs/route/issues"},"homepage":"https://github.com/koajs/route#readme","_id":"koa-route@2.4.2","_shasum":"0de227989e6aa7334768abbfb16c519ad9a7fa71","_from":".","_npmVersion":"2.11.3","_nodeVersion":"2.3.2","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"aheckmann","email":"aaron.heckmann+github@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tejasmanohar","email":"me@tejasmanohar.com"},{"name":"travisjeffery","email":""}],"dist":{"shasum":"0de227989e6aa7334768abbfb16c519ad9a7fa71","size":1807,"noattachment":false,"key":"/koa-route/-/koa-route-2.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-route/download/koa-route-2.4.2.tgz"},"directories":{},"publish_time":1435858928597,"_cnpm_publish_time":1435858928597,"_hasShrinkwrap":false},"2.4.1":{"name":"koa-route","description":"Koa route middleware","repository":{"type":"git","url":"https://github.com/koajs/route"},"version":"2.4.1","keywords":["koa","middleware","routes","router","route"],"files":["index.js"],"devDependencies":{"istanbul-harmony":"0","mocha":"1","supertest":"0","should":"*","koa":"0"},"license":"MIT","dependencies":{"path-to-regexp":"~1.0.0","methods":"~1.1.0","debug":"*"},"scripts":{"test":"NODE_ENV=test mocha --harmony-generators --require should --reporter spec","test-cov":"NODE_ENV=test node --harmony-generators ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --require should","test-travis":"NODE_ENV=test node --harmony-generators ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- --require should"},"gitHead":"4115b082d2ec6c7f217f279b9b1e5a1056a66df3","bugs":{"url":"https://github.com/koajs/route/issues"},"homepage":"https://github.com/koajs/route","_id":"koa-route@2.4.1","_shasum":"242c19bffe57a2922ccc2ba72fdaf4d3873dcc43","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.11.16","_npmUser":{"name":"tjholowaychuk","email":"tj@vision-media.ca"},"maintainers":[{"name":"aheckmann","email":"aaron.heckmann+github@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tejasmanohar","email":"me@tejasmanohar.com"},{"name":"travisjeffery","email":""}],"dist":{"shasum":"242c19bffe57a2922ccc2ba72fdaf4d3873dcc43","size":1802,"noattachment":false,"key":"/koa-route/-/koa-route-2.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-route/download/koa-route-2.4.1.tgz"},"directories":{},"publish_time":1428870431125,"_cnpm_publish_time":1428870431125,"_hasShrinkwrap":false},"2.4.0":{"name":"koa-route","description":"Koa route middleware","repository":{"type":"git","url":"https://github.com/koajs/route"},"version":"2.4.0","keywords":["koa","middleware","routes","router","route"],"files":["index.js"],"devDependencies":{"istanbul-harmony":"0","mocha":"1","supertest":"0","should":"*","koa":"0"},"license":"MIT","dependencies":{"path-to-regexp":"~1.0.0","methods":"~1.1.0","debug":"*"},"scripts":{"test":"NODE_ENV=test mocha --harmony-generators --require should --reporter spec","test-cov":"NODE_ENV=test node --harmony-generators ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --require should","test-travis":"NODE_ENV=test node --harmony-generators ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- --require should"},"gitHead":"39e67b875f7fda1ba3a064bdfd94140af4bf86f4","bugs":{"url":"https://github.com/koajs/route/issues"},"homepage":"https://github.com/koajs/route","_id":"koa-route@2.4.0","_shasum":"b784280d511f15d5d50a3859d21d7c73ab205b7f","_from":".","_npmVersion":"2.1.10","_nodeVersion":"0.11.14","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"aheckmann","email":"aaron.heckmann+github@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tejasmanohar","email":"me@tejasmanohar.com"},{"name":"travisjeffery","email":""}],"dist":{"shasum":"b784280d511f15d5d50a3859d21d7c73ab205b7f","size":1719,"noattachment":false,"key":"/koa-route/-/koa-route-2.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-route/download/koa-route-2.4.0.tgz"},"directories":{},"publish_time":1417160045474,"_cnpm_publish_time":1417160045474,"_hasShrinkwrap":false},"2.3.0":{"name":"koa-route","description":"Koa route middleware","repository":{"type":"git","url":"https://github.com/koajs/route"},"version":"2.3.0","keywords":["koa","middleware","routes","router","route"],"files":["index.js"],"devDependencies":{"istanbul-harmony":"0","mocha":"1","supertest":"0","should":"*","koa":"0"},"license":"MIT","dependencies":{"path-to-regexp":"~1.0.0","methods":"~1.1.0","debug":"*"},"scripts":{"test":"NODE_ENV=test mocha --harmony-generators --require should --reporter spec","test-cov":"NODE_ENV=test node --harmony-generators ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --require should","test-travis":"NODE_ENV=test node --harmony-generators ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- --require should"},"gitHead":"41e3f4b9221707eadbddbf990096f3b40e321f52","bugs":{"url":"https://github.com/koajs/route/issues"},"homepage":"https://github.com/koajs/route","_id":"koa-route@2.3.0","_shasum":"7041af71c75a43f54d1b85f837ed805343faa8d6","_from":".","_npmVersion":"2.1.10","_nodeVersion":"0.11.14","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"aheckmann","email":"aaron.heckmann+github@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tejasmanohar","email":"me@tejasmanohar.com"},{"name":"travisjeffery","email":""}],"dist":{"shasum":"7041af71c75a43f54d1b85f837ed805343faa8d6","size":1720,"noattachment":false,"key":"/koa-route/-/koa-route-2.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-route/download/koa-route-2.3.0.tgz"},"directories":{},"publish_time":1417159910948,"_cnpm_publish_time":1417159910948,"_hasShrinkwrap":false},"2.2.0":{"name":"koa-route","description":"Koa route middleware","repository":{"type":"git","url":"git://github.com/koajs/route"},"version":"2.2.0","keywords":["koa","middleware","routes","router","route"],"files":["index.js"],"devDependencies":{"istanbul-harmony":"0","mocha":"1","supertest":"0","should":"*","koa":"0"},"license":"MIT","dependencies":{"path-to-regexp":"~1.0.0","methods":"~1.1.0","debug":"*"},"scripts":{"test":"NODE_ENV=test mocha --harmony-generators --require should --reporter spec","test-cov":"NODE_ENV=test node --harmony-generators ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --require should","test-travis":"NODE_ENV=test node --harmony-generators ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- --require should"},"bugs":{"url":"https://github.com/koajs/route/issues"},"homepage":"https://github.com/koajs/route","_id":"koa-route@2.2.0","_shasum":"2430b9649755d35b565507546b9608fdc65dc73b","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"travisjeffery","email":"tj@travisjeffery.com"},"maintainers":[{"name":"aheckmann","email":"aaron.heckmann+github@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tejasmanohar","email":"me@tejasmanohar.com"},{"name":"travisjeffery","email":""}],"dist":{"shasum":"2430b9649755d35b565507546b9608fdc65dc73b","size":1389,"noattachment":false,"key":"/koa-route/-/koa-route-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-route/download/koa-route-2.2.0.tgz"},"directories":{},"publish_time":1413351592217,"_cnpm_publish_time":1413351592217,"_hasShrinkwrap":false},"2.1.0":{"name":"koa-route","description":"Koa route middleware","repository":{"type":"git","url":"https://github.com/koajs/route"},"version":"2.1.0","keywords":["koa","middleware","routes","router","route"],"files":["index.js"],"devDependencies":{"mocha":"*","supertest":"*","should":"*","koa":"*"},"license":"MIT","dependencies":{"path-to-regexp":"~1.0.0","methods":"~1.1.0","debug":"*"},"scripts":{"test":"make test"},"gitHead":"6d4ed7d4ebfae4c007ddb7872f178921ace8f9b7","bugs":{"url":"https://github.com/koajs/route/issues"},"homepage":"https://github.com/koajs/route","_id":"koa-route@2.1.0","_shasum":"6b8197e2e3a980b8a218e398117b616ae5a75b6e","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"aheckmann","email":"aaron.heckmann+github@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tejasmanohar","email":"me@tejasmanohar.com"},{"name":"travisjeffery","email":""}],"dist":{"shasum":"6b8197e2e3a980b8a218e398117b616ae5a75b6e","size":1268,"noattachment":false,"key":"/koa-route/-/koa-route-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-route/download/koa-route-2.1.0.tgz"},"directories":{},"publish_time":1408317145208,"_cnpm_publish_time":1408317145208,"_hasShrinkwrap":false},"2.0.0":{"name":"koa-route","description":"Koa route middleware","repository":{"type":"git","url":"https://github.com/koajs/route"},"version":"2.0.0","keywords":["koa","middleware","routes","router","route"],"files":["index.js"],"devDependencies":{"mocha":"*","supertest":"*","should":"*","koa":"git+https://github.com/koajs/koa"},"license":"MIT","dependencies":{"path-to-regexp":"~0.2.4","methods":"~0.1.0","debug":"*"},"scripts":{"test":"make test"},"gitHead":"ce2c3bfe2225abdba68965017c6d2ea1040196a5","bugs":{"url":"https://github.com/koajs/route/issues"},"homepage":"https://github.com/koajs/route","_id":"koa-route@2.0.0","_shasum":"8e882511ed08fa164f3bfaed3022d6531dc34a96","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"aheckmann","email":"aaron.heckmann+github@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tejasmanohar","email":"me@tejasmanohar.com"},{"name":"travisjeffery","email":""}],"dist":{"shasum":"8e882511ed08fa164f3bfaed3022d6531dc34a96","size":1276,"noattachment":false,"key":"/koa-route/-/koa-route-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-route/download/koa-route-2.0.0.tgz"},"directories":{},"publish_time":1407381903952,"_cnpm_publish_time":1407381903952,"_hasShrinkwrap":false},"1.1.4":{"name":"koa-route","description":"Koa route middleware","repository":{"type":"git","url":"git://github.com/koajs/route"},"version":"1.1.4","keywords":["koa","middleware","routes","router","route"],"files":["index.js"],"devDependencies":{"mocha":"*","supertest":"*","should":"*","koa":"git://github.com/koajs/koa"},"license":"MIT","dependencies":{"path-to-regexp":"~0.1.2","methods":"~0.1.0","debug":"*"},"scripts":{"test":"make test"},"bugs":{"url":"https://github.com/koajs/route/issues"},"homepage":"https://github.com/koajs/route","_id":"koa-route@1.1.4","dist":{"shasum":"ef65ba30914a4b6bb02ee815f3fc18cd0ff02b0c","size":1280,"noattachment":false,"key":"/koa-route/-/koa-route-1.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-route/download/koa-route-1.1.4.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"tjholowaychuk","email":"tj@vision-media.ca"},"maintainers":[{"name":"aheckmann","email":"aaron.heckmann+github@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tejasmanohar","email":"me@tejasmanohar.com"},{"name":"travisjeffery","email":""}],"directories":{},"publish_time":1399046424899,"_cnpm_publish_time":1399046424899,"_hasShrinkwrap":false},"1.1.2":{"name":"koa-route","description":"Koa route middleware","repository":{"type":"git","url":"git://github.com/koajs/route"},"version":"1.1.2","keywords":["koa","middleware","routes","router","route"],"files":["index.js"],"devDependencies":{"mocha":"*","supertest":"*","should":"*","koa":"koajs/koa"},"license":"MIT","dependencies":{"path-to-regexp":"~0.1.2","methods":"~0.1.0","debug":"*"},"scripts":{"test":"make test"},"bugs":{"url":"https://github.com/koajs/route/issues"},"homepage":"https://github.com/koajs/route","_id":"koa-route@1.1.2","dist":{"shasum":"a2162fa64582749598313dca05bf896d773fc42e","size":1250,"noattachment":false,"key":"/koa-route/-/koa-route-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-route/download/koa-route-1.1.2.tgz"},"_from":".","_npmVersion":"1.3.15","_npmUser":{"name":"tjholowaychuk","email":"tj@vision-media.ca"},"maintainers":[{"name":"aheckmann","email":"aaron.heckmann+github@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tejasmanohar","email":"me@tejasmanohar.com"},{"name":"travisjeffery","email":""}],"directories":{},"publish_time":1397862954568,"_cnpm_publish_time":1397862954568,"_hasShrinkwrap":false},"1.1.1":{"name":"koa-route","description":"Koa route middleware","repository":{"type":"git","url":"git://github.com/koajs/route"},"version":"1.1.1","keywords":["koa","middleware","routes","router","route"],"files":["index.js"],"devDependencies":{"mocha":"*","supertest":"*","should":"*","koa":"git://github.com/koajs/koa"},"license":"MIT","dependencies":{"path-to-regexp":"~0.1.2","methods":"~0.1.0","debug":"*"},"scripts":{"test":"make test"},"bugs":{"url":"https://github.com/koajs/route/issues"},"homepage":"https://github.com/koajs/route","_id":"koa-route@1.1.1","dist":{"shasum":"4a27c334983e535c5403ac5b40eea09ea331f539","size":1234,"noattachment":false,"key":"/koa-route/-/koa-route-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-route/download/koa-route-1.1.1.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"aheckmann","email":"aaron.heckmann+github@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tejasmanohar","email":"me@tejasmanohar.com"},{"name":"travisjeffery","email":""}],"directories":{},"publish_time":1395223980216,"_cnpm_publish_time":1395223980216,"_hasShrinkwrap":false},"1.1.0":{"name":"koa-route","description":"Koa route middleware","repository":{"type":"git","url":"git://github.com/koajs/route"},"version":"1.1.0","keywords":["koa","middleware","routes","router","route"],"files":["index.js"],"devDependencies":{"mocha":"*","supertest":"*","should":"*","koa":"koajs/koa"},"license":"MIT","dependencies":{"path-to-regexp":"0.0.2","methods":"0.1.0","debug":"*"},"scripts":{"test":"make test"},"bugs":{"url":"https://github.com/koajs/route/issues"},"homepage":"https://github.com/koajs/route","_id":"koa-route@1.1.0","dist":{"shasum":"c1ef24ee036b3aac87a9bb763a44ea536345c0e8","size":1223,"noattachment":false,"key":"/koa-route/-/koa-route-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-route/download/koa-route-1.1.0.tgz"},"_from":".","_npmVersion":"1.3.23","_npmUser":{"name":"tjholowaychuk","email":"tj@vision-media.ca"},"maintainers":[{"name":"aheckmann","email":"aaron.heckmann+github@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tejasmanohar","email":"me@tejasmanohar.com"},{"name":"travisjeffery","email":""}],"directories":{},"publish_time":1394039178683,"_cnpm_publish_time":1394039178683,"_hasShrinkwrap":false},"1.0.2":{"name":"koa-route","description":"Koa route middleware","repository":{"type":"git","url":"git://github.com/koajs/route"},"version":"1.0.2","keywords":["koa","middleware","routes","router","route"],"files":["index.js"],"devDependencies":{"koa":"0.0.2"},"license":"MIT","dependencies":{"path-to-regexp":"0.0.2","methods":"0.1.0","debug":"*"},"readmeFilename":"Readme.md","bugs":{"url":"https://github.com/koajs/route/issues"},"homepage":"https://github.com/koajs/route","_id":"koa-route@1.0.2","dist":{"shasum":"136a675eab271fa8f3f9555a88dc28d5584d0500","size":1073,"noattachment":false,"key":"/koa-route/-/koa-route-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-route/download/koa-route-1.0.2.tgz"},"_from":".","_npmVersion":"1.3.15","_npmUser":{"name":"tjholowaychuk","email":"tj@vision-media.ca"},"maintainers":[{"name":"aheckmann","email":"aaron.heckmann+github@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tejasmanohar","email":"me@tejasmanohar.com"},{"name":"travisjeffery","email":""}],"directories":{},"publish_time":1385615966148,"_cnpm_publish_time":1385615966148,"_hasShrinkwrap":false},"1.0.1":{"name":"koa-route","description":"Koa route middleware","repository":{"type":"git","url":"git://github.com/koajs/route"},"version":"1.0.1","keywords":["koa","middleware","routes","router","route"],"files":["index.js"],"devDependencies":{"koa":"0.0.2"},"license":"MIT","dependencies":{"path-to-regexp":"0.0.2","methods":"0.1.0","debug":"*"},"readmeFilename":"Readme.md","bugs":{"url":"https://github.com/koajs/route/issues"},"homepage":"https://github.com/koajs/route","_id":"koa-route@1.0.1","dist":{"shasum":"ed7952798e55f12bfa49996264ac3c054ea5b23b","size":1061,"noattachment":false,"key":"/koa-route/-/koa-route-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-route/download/koa-route-1.0.1.tgz"},"_from":".","_npmVersion":"1.3.13","_npmUser":{"name":"tjholowaychuk","email":"tj@vision-media.ca"},"maintainers":[{"name":"aheckmann","email":"aaron.heckmann+github@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tejasmanohar","email":"me@tejasmanohar.com"},{"name":"travisjeffery","email":""}],"directories":{},"publish_time":1384572614557,"_cnpm_publish_time":1384572614557,"_hasShrinkwrap":false},"1.0.0":{"name":"koa-route","description":"Koa route middleware","repository":{"type":"git","url":"git://github.com/koajs/route"},"version":"1.0.0","keywords":["koa","middleware","routes","router","route"],"files":["index.js"],"devDependencies":{"koa":"0.0.1"},"license":"MIT","dependencies":{"path-to-regexp":"0.0.2","methods":"0.1.0","debug":"*"},"readmeFilename":"Readme.md","bugs":{"url":"https://github.com/koajs/route/issues"},"homepage":"https://github.com/koajs/route","_id":"koa-route@1.0.0","dist":{"shasum":"cdb5a6697f4042dc559aa55ceda33378b2df0baa","size":1047,"noattachment":false,"key":"/koa-route/-/koa-route-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-route/download/koa-route-1.0.0.tgz"},"_from":".","_npmVersion":"1.3.13","_npmUser":{"name":"tjholowaychuk","email":"tj@vision-media.ca"},"maintainers":[{"name":"aheckmann","email":"aaron.heckmann+github@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tejasmanohar","email":"me@tejasmanohar.com"},{"name":"travisjeffery","email":""}],"directories":{},"publish_time":1383772441049,"_cnpm_publish_time":1383772441049,"_hasShrinkwrap":false}},"readme":"# koa-route\n\n Uber simple route middleware for koa.\n\n```js\nvar _ = require('koa-route');\napp.use(_.get('/pets', pets.list));\napp.use(_.get('/pets/:name', pets.show));\n```\n\n If you need a full-featured solution check out [koa-router](https://github.com/alexmingoia/koa-router),\n a Koa clone of express-resource.\n\n## Installation\n\n```js\n$ npm install koa-route\n```\n\n## Example\n\n  Contrived resource-oriented example:\n\n```js\nvar _ = require('koa-route');\nvar Koa = require('koa');\nvar app = new Koa();\n\nvar db = {\n  tobi: { name: 'tobi', species: 'ferret' },\n  loki: { name: 'loki', species: 'ferret' },\n  jane: { name: 'jane', species: 'ferret' }\n};\n\nvar pets = {\n  list: (ctx) => {\n    var names = Object.keys(db);\n    ctx.body = 'pets: ' + names.join(', ');\n  },\n\n  show: (ctx, name) => {\n    var pet = db[name];\n    if (!pet) return ctx.throw('cannot find that pet', 404);\n    ctx.body = pet.name + ' is a ' + pet.species;\n  }\n};\n\napp.use(_.get('/pets', pets.list));\napp.use(_.get('/pets/:name', pets.show));\n\napp.listen(3000);\nconsole.log('listening on port 3000');\n```\n\n## License\n\n  MIT\n","_attachments":{},"homepage":"https://github.com/koajs/route#readme","bugs":{"url":"https://github.com/koajs/route/issues"},"license":"MIT"}