{"_id":"koa-mount","_rev":"4082767","name":"koa-mount","description":"Mounting middleware for koa","dist-tags":{"latest":"4.2.0","latest-1":"1.3.1","next":"2.0.0"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},{"name":"coderhaoxin","email":""},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eivifj","email":""},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"}],"time":{"modified":"2025-12-01T22:06:23.000Z","created":"2013-08-17T06:49:56.686Z","4.2.0":"2025-04-27T08:01:43.197Z","4.1.0":"2025-04-27T07:08:55.964Z","4.0.0":"2018-09-26T03:54:17.000Z","1.3.1":"2018-09-12T04:04:25.035Z","3.0.0":"2017-03-26T13:08:20.414Z","2.0.0":"2016-03-07T01:47:40.818Z","1.3.0":"2014-05-08T20:03:19.983Z","1.2.5":"2014-03-26T03:05:33.531Z","1.2.4":"2014-03-26T02:38:28.585Z","1.2.3":"2014-01-12T17:21:00.764Z","1.2.2":"2013-12-22T17:06:05.255Z","1.2.1":"2013-12-18T02:10:38.889Z","1.2.0":"2013-11-29T19:39:09.846Z","1.1.0":"2013-09-08T18:47:00.911Z","1.0.0":"2013-08-17T06:49:56.686Z"},"users":{"iisii":true,"phoenix-xsy":true,"dofy":true,"junkycoder":true,"adamlu":true,"princetoad":true,"oleg_tsyba":true,"flftfqwxf":true},"repository":{"type":"git","url":"git+https://github.com/koajs/mount.git"},"versions":{"4.2.0":{"name":"koa-mount","description":"Mounting middleware for koa","repository":{"type":"git","url":"git+https://github.com/koajs/mount.git"},"version":"4.2.0","keywords":["koa","middleware","mount","mounting"],"devDependencies":{"eslint":"^7.32.0","eslint-config-standard":"^7.1.0","eslint-plugin-promise":"^3.5.0","eslint-plugin-standard":"^5.0.0","istanbul":"^0.4.5","koa":"^2.0.1","koa-static":"^5.0.0","mocha":"^9.1.1","should":"^11.2.0","supertest":"^6.1.6"},"license":"MIT","dependencies":{"debug":"^4.0.1","koa-compose":"^4.1.0"},"scripts":{"lint":"eslint --fix .","test":"NODE_ENV=test mocha --reporter spec","test-cov":"NODE_ENV=test istanbul cover ./node_modules/.bin/_mocha","test-travis":"NODE_ENV=test istanbul cover ./node_modules/.bin/_mocha --report lcovonly"},"engines":{"node":">= 7.6.0"},"_id":"koa-mount@4.2.0","gitHead":"3f14cbb8b0d0812ef7299434dffe6f784e8933fe","bugs":{"url":"https://github.com/koajs/mount/issues"},"homepage":"https://github.com/koajs/mount#readme","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"shasum":"66f4436cac76af3075ac432d503299f7678d5914","size":2223,"noattachment":false,"key":"/koa-mount/-/koa-mount-4.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-mount/download/koa-mount-4.2.0.tgz"},"_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"directories":{},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},{"name":"coderhaoxin","email":""},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eivifj","email":""},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/koa-mount_4.2.0_1745740903045_0.45926383926516223"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-04-27T08:01:43.197Z","publish_time":1745740903197,"_source_registry_name":"default","_cnpm_publish_time":1745740903197},"4.1.0":{"name":"koa-mount","description":"Mounting middleware for koa","repository":{"type":"git","url":"git+https://github.com/koajs/mount.git"},"version":"4.1.0","keywords":["koa","middleware","mount","mounting"],"devDependencies":{"eslint":"^7.32.0","eslint-config-standard":"^7.1.0","eslint-plugin-promise":"^3.5.0","eslint-plugin-standard":"^5.0.0","istanbul":"^0.4.5","koa":"^2.0.1","koa-static":"^5.0.0","mocha":"^9.1.1","should":"^11.2.0","supertest":"^6.1.6"},"license":"MIT","dependencies":{"debug":"^4.0.1","koa-compose":"^4.1.0"},"scripts":{"lint":"eslint --fix .","test":"NODE_ENV=test mocha --reporter spec","test-cov":"NODE_ENV=test istanbul cover ./node_modules/.bin/_mocha","test-travis":"NODE_ENV=test istanbul cover ./node_modules/.bin/_mocha --report lcovonly"},"engines":{"node":">= 7.6.0"},"_id":"koa-mount@4.1.0","gitHead":"8f776117ee417927cde91d83f083bbef54d0ad7c","bugs":{"url":"https://github.com/koajs/mount/issues"},"homepage":"https://github.com/koajs/mount#readme","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"shasum":"a109e81580a3605584f34e1bb0eb97abd3d444a8","size":2202,"noattachment":false,"key":"/koa-mount/-/koa-mount-4.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-mount/download/koa-mount-4.1.0.tgz"},"_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"directories":{},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},{"name":"coderhaoxin","email":""},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eivifj","email":""},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/koa-mount_4.1.0_1745737735757_0.30983271022344505"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-04-27T07:08:55.964Z","publish_time":1745737735964,"_source_registry_name":"default","_cnpm_publish_time":1745737735964},"4.0.0":{"name":"koa-mount","description":"Mounting middleware for koa","repository":{"type":"git","url":"git+https://github.com/koajs/mount.git"},"version":"4.0.0","keywords":["koa","middleware","mount","mounting"],"devDependencies":{"eslint":"^3.18.0","eslint-config-standard":"^7.1.0","eslint-plugin-promise":"^3.5.0","eslint-plugin-standard":"^2.1.1","istanbul":"^0.4.5","koa":"^2.0.1","koa-static":"^3.0.0","mocha":"^3.2.0","should":"^11.2.0","supertest":"^3.0.0"},"license":"MIT","dependencies":{"debug":"^4.0.1","koa-compose":"^4.1.0"},"scripts":{"lint":"eslint --fix .","test":"NODE_ENV=test mocha --reporter spec","test-cov":"NODE_ENV=test istanbul cover ./node_modules/.bin/_mocha","test-travis":"NODE_ENV=test istanbul cover ./node_modules/.bin/_mocha --report lcovonly"},"engines":{"node":">= 7.6.0"},"gitHead":"682ac2a967ab22aa585e62bf50a6b51171220831","bugs":{"url":"https://github.com/koajs/mount/issues"},"homepage":"https://github.com/koajs/mount#readme","_id":"koa-mount@4.0.0","_npmVersion":"6.1.0","_nodeVersion":"10.6.0","_npmUser":{"name":"coderhaoxin","email":"haoxins@icloud.com"},"dist":{"shasum":"e0265e58198e1a14ef889514c607254ff386329c","size":2617,"noattachment":false,"key":"/koa-mount/-/koa-mount-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-mount/download/koa-mount-4.0.0.tgz"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},{"name":"coderhaoxin","email":""},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eivifj","email":""},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koa-mount_4.0.0_1537934056864_0.574143789958514"},"_hasShrinkwrap":false,"publish_time":1537934057000,"_cnpm_publish_time":1537934057000},"1.3.1":{"name":"koa-mount","description":"Mounting middleware for koa","repository":{"type":"git","url":"git+https://github.com/koajs/mount.git"},"version":"1.3.1","keywords":["koa","middleware","mount","mounting"],"devDependencies":{"istanbul":"0","koa":"1","should":"8.0.2","mocha":"2","supertest":"1"},"license":"MIT","dependencies":{"debug":"^3.2.5","koa-compose":"^2.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"},"publishConfig":{"tag":"latest-1"},"readmeFilename":"Readme.md","gitHead":"6d84be2ffb179e51f2b33d63d808208bfd3d4692","bugs":{"url":"https://github.com/koajs/mount/issues"},"homepage":"https://github.com/koajs/mount#readme","_id":"koa-mount@1.3.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"dist":{"shasum":"d1049a3337584c5ac1d3a3f40ecb8604212b7a03","size":2493,"noattachment":false,"key":"/koa-mount/-/koa-mount-1.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-mount/download/koa-mount-1.3.1.tgz"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},{"name":"coderhaoxin","email":""},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eivifj","email":""},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/koa-mount_1.3.1_1536725064845_0.2247305862353064"},"_hasShrinkwrap":false,"publish_time":1536725065035,"_cnpm_publish_time":1536725065035},"3.0.0":{"name":"koa-mount","description":"Mounting middleware for koa","repository":{"type":"git","url":"git+https://github.com/koajs/mount.git"},"version":"3.0.0","keywords":["koa","middleware","mount","mounting"],"files":["index.js"],"devDependencies":{"istanbul":"^0.4.5","koa":"^2.0.1","mocha":"^3.2.0","should":"^11.2.0","supertest":"^3.0.0"},"license":"MIT","dependencies":{"debug":"^2.6.1","koa-compose":"^3.2.1"},"scripts":{"test":"NODE_ENV=test mocha --reporter spec","test-cov":"NODE_ENV=test istanbul cover ./node_modules/.bin/_mocha","test-travis":"NODE_ENV=test istanbul cover ./node_modules/.bin/_mocha --report lcovonly"},"engines":{"node":">= 7.6.0"},"gitHead":"6ceebf59d9ebb4528f25117b6bf996d13e70c288","bugs":{"url":"https://github.com/koajs/mount/issues"},"homepage":"https://github.com/koajs/mount#readme","_id":"koa-mount@3.0.0","_shasum":"08cab3b83d31442ed8b7e75c54b1abeb922ec197","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.4","_npmUser":{"name":"coderhaoxin","email":"haoxins@outlook.com"},"dist":{"shasum":"08cab3b83d31442ed8b7e75c54b1abeb922ec197","size":2521,"noattachment":false,"key":"/koa-mount/-/koa-mount-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-mount/download/koa-mount-3.0.0.tgz"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},{"name":"coderhaoxin","email":""},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eivifj","email":""},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/koa-mount-3.0.0.tgz_1490533700153_0.7528885321225971"},"directories":{},"publish_time":1490533700414,"_hasShrinkwrap":false,"_cnpm_publish_time":1490533700414},"2.0.0":{"name":"koa-mount","description":"Mounting middleware for koa","repository":{"type":"git","url":"git+https://github.com/koajs/mount.git"},"version":"2.0.0","keywords":["koa","middleware","mount","mounting"],"files":["index.js"],"devDependencies":{"babel-cli":"6","babel-core":"6","babel-plugin-transform-async-to-generator":"6","istanbul":"0","koa":"^2.0.0-alpha.3","mocha":"2","should":"8","supertest":"1"},"license":"MIT","dependencies":{"debug":"*","koa-compose":"^3.0.0"},"scripts":{"test":"NODE_ENV=test mocha --require babel-core/register --reporter spec","test-cov":"NODE_ENV=test node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --require babel-core/register","test-travis":"NODE_ENV=test node --harmony ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- --require babel-core/register"},"gitHead":"3e861e402586823d656733e5dcfeeb5628ca6d89","bugs":{"url":"https://github.com/koajs/mount/issues"},"homepage":"https://github.com/koajs/mount#readme","_id":"koa-mount@2.0.0","_shasum":"728b7d01ab23e7e58dc588e52fc554d67ee981db","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.1","_npmUser":{"name":"coderhaoxin","email":"coderhaoxin@outlook.com"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},{"name":"coderhaoxin","email":""},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eivifj","email":""},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"}],"dist":{"shasum":"728b7d01ab23e7e58dc588e52fc554d67ee981db","size":2572,"noattachment":false,"key":"/koa-mount/-/koa-mount-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-mount/download/koa-mount-2.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/koa-mount-2.0.0.tgz_1457315259379_0.9635693258605897"},"directories":{},"publish_time":1457315260818,"_cnpm_publish_time":1457315260818,"_hasShrinkwrap":false},"1.3.0":{"name":"koa-mount","description":"Mounting middleware for koa","repository":{"type":"git","url":"git://github.com/koajs/mount"},"version":"1.3.0","keywords":["koa","middleware","mount","mounting"],"files":["index.js"],"devDependencies":{"koa":"latest","should":"^3.0.0","mocha":"^1.12.1","supertest":"~0.10.0"},"license":"MIT","dependencies":{"koa-compose":"^2.2.0","debug":"*"},"scripts":{"test":"make test"},"bugs":{"url":"https://github.com/koajs/mount/issues"},"homepage":"https://github.com/koajs/mount","_id":"koa-mount@1.3.0","dist":{"shasum":"de6ab775ec4b71ba6e67f2925a3d40dd5fab3ed0","size":2046,"noattachment":false,"key":"/koa-mount/-/koa-mount-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-mount/download/koa-mount-1.3.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"tjholowaychuk","email":"tj@vision-media.ca"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},{"name":"coderhaoxin","email":""},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eivifj","email":""},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"}],"directories":{},"publish_time":1399579399983,"_cnpm_publish_time":1399579399983,"_hasShrinkwrap":false},"1.2.5":{"name":"koa-mount","description":"Mounting middleware for koa","repository":{"type":"git","url":"git://github.com/koajs/mount"},"version":"1.2.5","keywords":["koa","middleware","mount","mounting"],"files":["index.js"],"devDependencies":{"koa":"latest","should":"^3.0.0","mocha":"^1.12.1","supertest":"~0.10.0"},"license":"MIT","dependencies":{"koa-compose":"^2.2.0","debug":"*"},"scripts":{"test":"make test"},"bugs":{"url":"https://github.com/koajs/mount/issues"},"homepage":"https://github.com/koajs/mount","_id":"koa-mount@1.2.5","dist":{"shasum":"f7f36807d2c9bf1d1a033c5897ed25fa802d7e4f","size":2045,"noattachment":false,"key":"/koa-mount/-/koa-mount-1.2.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-mount/download/koa-mount-1.2.5.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},{"name":"coderhaoxin","email":""},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eivifj","email":""},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"}],"directories":{},"publish_time":1395803133531,"_cnpm_publish_time":1395803133531,"_hasShrinkwrap":false},"1.2.4":{"name":"koa-mount","description":"Mounting middleware for koa","repository":{"type":"git","url":"git://github.com/koajs/mount"},"version":"1.2.4","keywords":["koa","middleware","mount","mounting"],"files":["index.js"],"devDependencies":{"koa":"latest","should":"^3.0.0","mocha":"^1.12.1","supertest":"~0.10.0"},"license":"MIT","dependencies":{"koa-compose":"^2.2.0","debug":"*"},"scripts":{"test":"make test"},"bugs":{"url":"https://github.com/koajs/mount/issues"},"homepage":"https://github.com/koajs/mount","_id":"koa-mount@1.2.4","dist":{"shasum":"7dab0784f98e8b341218a53d5ae3ce2bed5e4c4c","size":1809,"noattachment":false,"key":"/koa-mount/-/koa-mount-1.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-mount/download/koa-mount-1.2.4.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},{"name":"coderhaoxin","email":""},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eivifj","email":""},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"}],"directories":{},"publish_time":1395801508585,"_cnpm_publish_time":1395801508585,"_hasShrinkwrap":false},"1.2.3":{"name":"koa-mount","description":"Mounting middleware for koa","repository":{"type":"git","url":"git://github.com/koajs/mount"},"version":"1.2.3","keywords":["koa","middleware","mount","mounting"],"files":["index.js"],"devDependencies":{"koa":"koajs/koa","should":"~1.2.2","mocha":"~1.12.1","supertest":"~0.7.1"},"license":"MIT","dependencies":{"koa-compose":"~2.1.0","debug":"*"},"readmeFilename":"Readme.md","bugs":{"url":"https://github.com/koajs/mount/issues"},"homepage":"https://github.com/koajs/mount","_id":"koa-mount@1.2.3","dist":{"shasum":"66e4cef848163946e7b55a8cd796bb69d08b54a2","size":1791,"noattachment":false,"key":"/koa-mount/-/koa-mount-1.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-mount/download/koa-mount-1.2.3.tgz"},"_from":".","_npmVersion":"1.3.15","_npmUser":{"name":"tjholowaychuk","email":"tj@vision-media.ca"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},{"name":"coderhaoxin","email":""},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eivifj","email":""},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"}],"directories":{},"publish_time":1389547260764,"_cnpm_publish_time":1389547260764,"_hasShrinkwrap":false},"1.2.2":{"name":"koa-mount","description":"Mounting middleware for koa","repository":{"type":"git","url":"git://github.com/koajs/mount"},"version":"1.2.2","keywords":["koa","middleware","mount","mounting"],"files":["index.js"],"devDependencies":{"koa":"koajs/koa","should":"~1.2.2","mocha":"~1.12.1","supertest":"~0.7.1"},"license":"MIT","dependencies":{"koa-compose":"~2.1.0","debug":"*"},"readmeFilename":"Readme.md","bugs":{"url":"https://github.com/koajs/mount/issues"},"homepage":"https://github.com/koajs/mount","_id":"koa-mount@1.2.2","dist":{"shasum":"72c53959d23223bdb8e2480edd88ec4f6c3863b1","size":1789,"noattachment":false,"key":"/koa-mount/-/koa-mount-1.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-mount/download/koa-mount-1.2.2.tgz"},"_from":".","_npmVersion":"1.3.15","_npmUser":{"name":"tjholowaychuk","email":"tj@vision-media.ca"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},{"name":"coderhaoxin","email":""},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eivifj","email":""},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"}],"directories":{},"publish_time":1387731965255,"_cnpm_publish_time":1387731965255,"_hasShrinkwrap":false},"1.2.1":{"name":"koa-mount","description":"Mounting middleware for koa","repository":{"type":"git","url":"git://github.com/koajs/mount"},"version":"1.2.1","keywords":["koa","middleware","mount","mounting"],"files":["index.js"],"devDependencies":{"koa":"koajs/koa","should":"~1.2.2","mocha":"~1.12.1","supertest":"~0.7.1"},"license":"MIT","dependencies":{"koa-compose":"2.0.0","debug":"*"},"readmeFilename":"Readme.md","bugs":{"url":"https://github.com/koajs/mount/issues"},"homepage":"https://github.com/koajs/mount","_id":"koa-mount@1.2.1","dist":{"shasum":"c69d918346b1b8bc74bc2bc451a3c6997cc7ffcc","size":1800,"noattachment":false,"key":"/koa-mount/-/koa-mount-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-mount/download/koa-mount-1.2.1.tgz"},"_from":".","_npmVersion":"1.3.15","_npmUser":{"name":"tjholowaychuk","email":"tj@vision-media.ca"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},{"name":"coderhaoxin","email":""},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eivifj","email":""},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"}],"directories":{},"publish_time":1387332638889,"_cnpm_publish_time":1387332638889,"_hasShrinkwrap":false},"1.2.0":{"name":"koa-mount","description":"Mounting middleware for koa","repository":{"type":"git","url":"git://github.com/koajs/mount"},"version":"1.2.0","keywords":["koa","middleware","mount","mounting"],"files":["index.js"],"devDependencies":{"koa":"koajs/koa","should":"~1.2.2","mocha":"~1.12.1","supertest":"~0.7.1"},"license":"MIT","dependencies":{"koa-compose":"2.0.0","debug":"*"},"readmeFilename":"Readme.md","bugs":{"url":"https://github.com/koajs/mount/issues"},"homepage":"https://github.com/koajs/mount","_id":"koa-mount@1.2.0","dist":{"shasum":"287d68ebba644e7da01759b99aa280bc6cb97f69","size":1782,"noattachment":false,"key":"/koa-mount/-/koa-mount-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-mount/download/koa-mount-1.2.0.tgz"},"_from":".","_npmVersion":"1.3.15","_npmUser":{"name":"tjholowaychuk","email":"tj@vision-media.ca"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},{"name":"coderhaoxin","email":""},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eivifj","email":""},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"}],"directories":{},"publish_time":1385753949846,"_cnpm_publish_time":1385753949846,"_hasShrinkwrap":false},"1.1.0":{"name":"koa-mount","description":"Mounting middleware for koa","repository":{"type":"git","url":"koajs/mount"},"version":"1.1.0","keywords":["koa","middleware","mount","mounting"],"files":["index.js"],"devDependencies":{"koa":"0.0.1","should":"~1.2.2","mocha":"~1.12.1","supertest":"~0.7.1"},"license":"MIT","dependencies":{"koa-compose":"~1.0.0","debug":"*"},"readmeFilename":"Readme.md","_id":"koa-mount@1.1.0","dist":{"shasum":"10f51fb796041bd25ab001491e6217dd370ec55a","size":1782,"noattachment":false,"key":"/koa-mount/-/koa-mount-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-mount/download/koa-mount-1.1.0.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"tjholowaychuk","email":"tj@vision-media.ca"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},{"name":"coderhaoxin","email":""},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eivifj","email":""},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"}],"directories":{},"publish_time":1378666020911,"_cnpm_publish_time":1378666020911,"_hasShrinkwrap":false},"1.0.0":{"name":"koa-mount","description":"Mounting middleware for koa","repository":{"type":"git","url":"koajs/mount"},"version":"1.0.0","keywords":["koa","middleware","mount","mounting"],"files":["index.js"],"devDependencies":{"koa":"0.0.1"},"license":"MIT","dependencies":{"koa-compose":"~1.0.0"},"readmeFilename":"Readme.md","_id":"koa-mount@1.0.0","dist":{"shasum":"9a2fe953f7a0f847f280a5f3ce3dc62aac7e0555","size":1088,"noattachment":false,"key":"/koa-mount/-/koa-mount-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/koa-mount/download/koa-mount-1.0.0.tgz"},"_from":".","_npmVersion":"1.3.4","_npmUser":{"name":"tjholowaychuk","email":"tj@vision-media.ca"},"maintainers":[{"name":"aaron","email":"aaron.heckmann+github@gmail.com"},{"name":"coderhaoxin","email":""},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eivifj","email":""},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"juliangruber","email":"julian@juliangruber.com"},{"name":"tjholowaychuk","email":"tj@vision-media.ca"}],"directories":{},"publish_time":1376722196686,"_cnpm_publish_time":1376722196686,"_hasShrinkwrap":false}},"readme":"# koa-mount\n\n  Mount other Koa applications as middleware. The `path` passed to `mount()` is stripped\n  from the URL temporarily until the stack unwinds. This is useful for creating entire\n  apps or middleware that will function correctly regardless of which path segment(s)\n  they should operate on.\n\n## Installation\n\n```js\n$ npm install koa-mount\n```\n\n## Examples\n\n  View the [./examples](examples) directory for working examples.\n\n### Mounting Applications\n\n  Entire applications mounted at specific paths. For example you could mount\n  a blog application at \"/blog\", with a router that matches paths such as\n  \"GET /\", \"GET /posts\", and will behave properly for \"GET /blog/posts\" etc\n  when mounted.\n\n```js\nconst mount = require('koa-mount');\nconst Koa = require('koa');\n\n// hello\n\nconst a = new Koa();\n\na.use(async function (ctx, next){\n  await next();\n  ctx.body = 'Hello';\n});\n\n// world\n\nconst b = new Koa();\n\nb.use(async function (ctx, next){\n  await next();\n  ctx.body = 'World';\n});\n\n// app\n\nconst app = new Koa();\n\napp.use(mount('/hello', a));\napp.use(mount('/world', b));\n\napp.listen(3000);\nconsole.log('listening on port 3000');\n```\n\n  Try the following requests:\n\n```\n$ GET /\nNot Found\n\n$ GET /hello\nHello\n\n$ GET /world\nWorld\n```\n\n### Mounting Middleware\n\n  Mount middleware at specific paths, allowing them to operate independently\n  of the prefix, as they're not aware of it.\n\n```js\nconst mount = require('koa-mount');\nconst Koa = require('koa');\n\nasync function hello(ctx, next){\n  await next();\n  ctx.body = 'Hello';\n}\n\nasync function world(ctx, next){\n  await next();\n  ctx.body = 'World';\n}\n\nconst app = new Koa();\n\napp.use(mount('/hello', hello));\napp.use(mount('/world', world));\n\napp.listen(3000);\nconsole.log('listening on port 3000');\n```\n\n### Optional Paths\n\n  The path argument is optional, defaulting to \"/\":\n\n```js\napp.use(mount(a));\napp.use(mount(b));\n```\n\n## Debugging\n\n  Use the __DEBUG__ environement variable to whitelist\n  koa-mount debug output:\n\n```\n$ DEBUG=koa-mount node myapp.js &\n$ GET /foo/bar/baz\n\n  koa-mount enter /foo/bar/baz -> /bar/baz +2s\n  koa-mount enter /bar/baz -> /baz +0ms\n  koa-mount enter /baz -> / +0ms\n  koa-mount leave /baz -> / +1ms\n  koa-mount leave /bar/baz -> /baz +0ms\n  koa-mount leave /foo/bar/baz -> /bar/baz +0ms\n```\n\n## License\n\n  MIT\n","_attachments":{},"homepage":"https://github.com/koajs/mount#readme","bugs":{"url":"https://github.com/koajs/mount/issues"},"license":"MIT"}