{"_id":"koa-serve-index","_rev":"746635","name":"koa-serve-index","description":"Serve directory listings for koa","dist-tags":{"latest":"1.1.1"},"maintainers":[{"name":"yiminghe","email":"yiminghe@gmail.com"}],"time":{"modified":"2024-06-27T03:00:39.000Z","created":"2014-09-11T06:40:07.340Z","1.1.1":"2015-11-16T03:09:13.289Z","1.1.0":"2015-09-21T03:36:04.377Z","1.0.4":"2015-05-21T08:51:25.248Z","1.0.3":"2015-04-29T04:08:06.191Z","1.0.1":"2014-09-11T10:00:56.901Z","1.0.0":"2014-09-11T09:35:03.282Z","0.0.1":"2014-09-11T06:40:07.340Z"},"users":{"po":true},"repository":{"type":"git","url":"git+ssh://git@github.com/yiminghe/koa-serve-index.git"},"versions":{"1.1.1":{"name":"koa-serve-index","description":"Serve directory listings for koa","version":"1.1.1","license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/yiminghe/koa-serve-index.git"},"files":["index.js","test","public"],"dependencies":{"accepts":"~1.1.0","batch":"0.5.1","debug":"~2.0.0","parseurl":"~1.3.0"},"devDependencies":{"istanbul-harmony":"^0.3.0","koa":"^0.11.0","mocha":"~1.21.1","should":"~4.0.0","supertest":"~0.13.0"},"engines":{"node":">= 0.11.0"},"scripts":{"publish":"git push origin","test":"node --harmony ./node_modules/mocha/bin/mocha --harmony --reporter spec --bail --check-leaks test/","test-cov":"node --harmony ./node_modules/istanbul-harmony/lib/cli cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"node --harmony ./node_modules/istanbul-harmony/lib/cli cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"gitHead":"40e66485330d8af6ff3f2f5dac5aa08dbebbdc1a","bugs":{"url":"https://github.com/yiminghe/koa-serve-index/issues"},"homepage":"https://github.com/yiminghe/koa-serve-index#readme","_id":"koa-serve-index@1.1.1","_shasum":"ccc6cee1e8150f3b27fa9640d918d1d36f815292","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"yiminghe","email":"yiminghe@gmail.com"},"maintainers":[{"name":"yiminghe","email":"yiminghe@gmail.com"}],"dist":{"shasum":"ccc6cee1e8150f3b27fa9640d918d1d36f815292","tarball":"http://registry-npm.ywwl.com/koa-serve-index/download/koa-serve-index-1.1.1.tgz","integrity":"sha512-gpIdwtUw1Ss7Nt9K/Xi0E6GGM2c1n5MLXDAgyH8yB5qV4U+psHwx+6HomcGCBQVc5GPpqSn7hfxiBtlIdFZIsg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDBoMJILTQJZkcaWZuwtt2SXrzt25Bfg46xvsCOO8u1LAiBG3ngl4O8KhhySNoF+d8oBo8Srmjgvlc8HRN9PJACnwg=="}],"size":63902,"noattachment":false,"key":"/koa-serve-index/-/koa-serve-index-1.1.1.tgz"},"directories":{},"publish_time":1447643353289,"_cnpm_publish_time":1447643353289},"1.1.0":{"name":"koa-serve-index","description":"Serve directory listings for koa","version":"1.1.0","license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/yiminghe/koa-serve-index.git"},"files":["index.js","test","public"],"dependencies":{"accepts":"~1.1.0","batch":"0.5.1","debug":"~2.0.0","parseurl":"~1.3.0"},"devDependencies":{"istanbul-harmony":"^0.3.0","koa":"^0.11.0","mocha":"~1.21.1","should":"~4.0.0","supertest":"~0.13.0"},"engines":{"node":">= 0.11.0"},"scripts":{"publish":"git push origin","test":"node --harmony ./node_modules/mocha/bin/mocha --harmony --reporter spec --bail --check-leaks test/","test-cov":"node --harmony ./node_modules/istanbul-harmony/lib/cli cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"node --harmony ./node_modules/istanbul-harmony/lib/cli cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"gitHead":"0acb826ee4cbd75fa8ad68a08b737e33a8ac9fe8","bugs":{"url":"https://github.com/yiminghe/koa-serve-index/issues"},"homepage":"https://github.com/yiminghe/koa-serve-index#readme","_id":"koa-serve-index@1.1.0","_shasum":"25222e7b7160ea30443962f9f6f77874c5c051f7","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"yiminghe","email":"yiminghe@gmail.com"},"maintainers":[{"name":"yiminghe","email":"yiminghe@gmail.com"}],"dist":{"shasum":"25222e7b7160ea30443962f9f6f77874c5c051f7","tarball":"http://registry-npm.ywwl.com/koa-serve-index/download/koa-serve-index-1.1.0.tgz","integrity":"sha512-ZsdlmFQaquGezvE+LtssMhSwMXD3FPI7c8g2Am5EqRZ5QZ83uorWBJ5QYrBd+5WvjKlTQUmrRnYWeXv8dFnG9A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDBbNRsXEuw7sgJcNYu26noqircBE2/LwwC/LHN6NOX/AiB6d4HGovqgvft6+4Xv4JJNz5rBy6A4h9AsTPCZUKbBWg=="}],"size":63898,"noattachment":false,"key":"/koa-serve-index/-/koa-serve-index-1.1.0.tgz"},"directories":{},"publish_time":1442806564377,"_cnpm_publish_time":1442806564377},"1.0.4":{"name":"koa-serve-index","description":"Serve directory listings for koa","version":"1.0.4","license":"MIT","main":"./lib/serve.js","repository":{"type":"git","url":"http://github.com/yiminghe/koa-serve-index.git"},"dependencies":{"accepts":"~1.1.0","batch":"0.5.1","debug":"~2.0.0","parseurl":"~1.3.0"},"devDependencies":{"istanbul-harmony":"^0.3.0","koa":"^0.11.0","mocha":"~1.21.1","should":"~4.0.0","supertest":"~0.13.0"},"engines":{"node":">= 0.11.0"},"scripts":{"test":"node --harmony ./node_modules/mocha/bin/mocha --harmony --reporter spec --bail --check-leaks test/","test-cov":"node --harmony ./node_modules/istanbul-harmony/lib/cli cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"node --harmony ./node_modules/istanbul-harmony/lib/cli cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"gitHead":"3b79498b1d66f299b5df8251a0cb6ca7bd8feee3","bugs":{"url":"https://github.com/yiminghe/koa-serve-index/issues"},"homepage":"https://github.com/yiminghe/koa-serve-index","_id":"koa-serve-index@1.0.4","_shasum":"cb0b6c2c3c58393e0140136b81a41ad920ae6133","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"yiminghe","email":"yiminghe@gmail.com"},"maintainers":[{"name":"yiminghe","email":"yiminghe@gmail.com"}],"dist":{"shasum":"cb0b6c2c3c58393e0140136b81a41ad920ae6133","tarball":"http://registry-npm.ywwl.com/koa-serve-index/download/koa-serve-index-1.0.4.tgz","integrity":"sha512-hGbVqeRnXTHifWByhbe+cwbnzh4gMzAUHmxSvk8FoHwVyDQGm+x6dly00pfdVN0vR/cADcgi49tVrjAv8bIlqA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB2fYGzUI64AXTnq6OnIj/+s/cuY7vThtFC77q2SeTj7AiEA5jBundL1iv7YIadVnUT4lh10GFrnQMaGBicncJLuy24="}],"size":64434,"noattachment":false,"key":"/koa-serve-index/-/koa-serve-index-1.0.4.tgz"},"directories":{},"publish_time":1432198285248,"_cnpm_publish_time":1432198285248},"1.0.3":{"name":"koa-serve-index","description":"Serve directory listings for koa","version":"1.0.3","license":"MIT","main":"./lib/serve.js","repository":{"type":"git","url":"http://github.com/yiminghe/koa-serve-index.git"},"dependencies":{"accepts":"~1.1.0","batch":"0.5.1","debug":"~2.0.0","parseurl":"~1.3.0"},"devDependencies":{"istanbul-harmony":"^0.3.0","koa":"^0.11.0","mocha":"~1.21.1","should":"~4.0.0","supertest":"~0.13.0"},"engines":{"node":">= 0.11.0"},"scripts":{"test":"node --harmony ./node_modules/mocha/bin/mocha --harmony --reporter spec --bail --check-leaks test/","test-cov":"node --harmony ./node_modules/istanbul-harmony/lib/cli cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"node --harmony ./node_modules/istanbul-harmony/lib/cli cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"gitHead":"3d0440a974b23c4397b115ec639a64b6c7fbcbb9","bugs":{"url":"https://github.com/yiminghe/koa-serve-index/issues"},"homepage":"https://github.com/yiminghe/koa-serve-index","_id":"koa-serve-index@1.0.3","_shasum":"2af5c7bf84ae052bcbf3c849e4b925aef4c84d2c","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"yiminghe","email":"yiminghe@gmail.com"},"maintainers":[{"name":"yiminghe","email":"yiminghe@gmail.com"}],"dist":{"shasum":"2af5c7bf84ae052bcbf3c849e4b925aef4c84d2c","tarball":"http://registry-npm.ywwl.com/koa-serve-index/download/koa-serve-index-1.0.3.tgz","integrity":"sha512-MI2tNjQwVCyxKONAmH/h4DguWsuXDq3zcjdklkd9Jor6OpM3Sn7hkAbh5jmN7fx1Bv7c1cjrmJB0z/Veua74zw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxF5GIdOEc+f9GDKTdZ5U3qzkSbwqVkiJHOgqUshp1LgIgV7qQsSxp2J4Bfrip0lcs99LCGcgNIFqcXGNQ3DBaq9g="}],"size":64289,"noattachment":false,"key":"/koa-serve-index/-/koa-serve-index-1.0.3.tgz"},"directories":{},"publish_time":1430280486191,"_cnpm_publish_time":1430280486191},"1.0.1":{"name":"koa-serve-index","description":"Serve directory listings for koa","version":"1.0.1","author":{"name":"yiminghe@gmail.com"},"license":"MIT","repository":{"type":"git","url":"http://github.com/yiminghe/koa-serve-index.git"},"dependencies":{"accepts":"~1.1.0","batch":"0.5.1","debug":"~2.0.0","parseurl":"~1.3.0"},"devDependencies":{"istanbul":"0.3.2","koa":"^0.11.0","mocha":"~1.21.1","should":"~4.0.0","supertest":"~0.13.0"},"engines":{"node":">= 0.11.0"},"scripts":{"test":"node --harmony ./node_modules/mocha/bin/mocha --harmony --reporter spec --bail --check-leaks test/","test-cov":"node --harmony ./node_modules/istanbul/bin/istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"node --harmony ./node_modules/istanbul/bin/istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"bugs":{"url":"https://github.com/yiminghe/koa-serve-index/issues"},"homepage":"https://github.com/yiminghe/koa-serve-index","_id":"koa-serve-index@1.0.1","_shasum":"8c4f0bdc9a59f4e44005f632ba694c11232d1764","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"yiminghe","email":"yiminghe@gmail.com"},"maintainers":[{"name":"yiminghe","email":"yiminghe@gmail.com"}],"dist":{"shasum":"8c4f0bdc9a59f4e44005f632ba694c11232d1764","tarball":"http://registry-npm.ywwl.com/koa-serve-index/download/koa-serve-index-1.0.1.tgz","integrity":"sha512-NFvmAg/Zf/dqO+C9HfBJ+5jLWJpViUumrVryqNCzX8RKWgWRPhpD18IbDWCcbzibcx4RqFAVEPqpwLRSaHvw0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF3kr1nZclnpQW0X4aRhQrE4tdgc8QaaAqOPMkbXBmHpAiEA5EMD4xCoXD05zovTPM0caw4d0Vw5Tr6kNMLHVXdy2EM="}],"size":63173,"noattachment":false,"key":"/koa-serve-index/-/koa-serve-index-1.0.1.tgz"},"directories":{},"publish_time":1410429656901,"_cnpm_publish_time":1410429656901},"1.0.0":{"name":"koa-serve-index","description":"Serve directory listings for koa","version":"1.0.0","author":{"name":"yiminghe@gmail.com"},"license":"MIT","repository":{"type":"git","url":"http://github.com/yiminghe/koa-serve-index.git"},"dependencies":{"accepts":"~1.1.0","batch":"0.5.1","debug":"~2.0.0","parseurl":"~1.3.0"},"devDependencies":{"istanbul":"0.3.2","koa":"^0.11.0","mocha":"~1.21.1","should":"~4.0.0","supertest":"~0.13.0"},"engines":{"node":">= 0.11.0"},"scripts":{"test":"node --harmony ./node_modules/mocha/bin/mocha  --reporter spec --bail --check-leaks test/","test-cov":"node --harmony ./node_modules/istanbul/bin/istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"node --harmony ./node_modules/istanbul/bin/istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"bugs":{"url":"https://github.com/yiminghe/koa-serve-index/issues"},"homepage":"https://github.com/yiminghe/koa-serve-index","_id":"koa-serve-index@1.0.0","_shasum":"7bed6b9bd3a567b2ed45ec463242542f59e27230","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"yiminghe","email":"yiminghe@gmail.com"},"maintainers":[{"name":"yiminghe","email":"yiminghe@gmail.com"}],"dist":{"shasum":"7bed6b9bd3a567b2ed45ec463242542f59e27230","tarball":"http://registry-npm.ywwl.com/koa-serve-index/download/koa-serve-index-1.0.0.tgz","integrity":"sha512-2ACeD+QXVVyX9ExChZ9F8NfAUbWB9UYqYXflGHJ3HT4Sr/yM+sP7fB8VFnR9UXjc9+wiXuVr65J58PuAVRQEtg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTylB2vVXtqsMativ/sICpHWDP6GM0g/keXekKfx+pvQIhAJeE4c/YgUPB7OIfy0vduZAR9zuLDQJX99S/e8YNKv5m"}],"size":62811,"noattachment":false,"key":"/koa-serve-index/-/koa-serve-index-1.0.0.tgz"},"directories":{},"publish_time":1410428103282,"_cnpm_publish_time":1410428103282},"0.0.1":{"name":"koa-serve-index","description":"Serve directory listings for koa","version":"0.0.1","author":{"name":"yiminghe@gmail.com"},"license":"MIT","dependencies":{"accepts":"~1.1.0","batch":"0.5.1","debug":"~2.0.0","parseurl":"~1.3.0"},"devDependencies":{"istanbul":"0.3.2","mocha":"~1.21.1","should":"~4.0.0","supertest":"~0.13.0"},"engines":{"node":">= 0.11.0"},"scripts":{"test":"node --harmony ./node_modules/mocha/bin/mocha  --reporter spec --bail --check-leaks test/","test-cov":"node --harmony ./node_modules/istanbul/bin/istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"node --harmony ./node_modules/istanbul/bin/istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"_id":"koa-serve-index@0.0.1","_shasum":"676f512ac81e645e762256822a222fc4c38be305","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"yiminghe","email":"yiminghe@gmail.com"},"maintainers":[{"name":"yiminghe","email":"yiminghe@gmail.com"}],"dist":{"shasum":"676f512ac81e645e762256822a222fc4c38be305","tarball":"http://registry-npm.ywwl.com/koa-serve-index/download/koa-serve-index-0.0.1.tgz","integrity":"sha512-1+SQv4sNtZAjxWi008EKBKQeVBWBNF4Ucefv5JwXwRrjgXQ/56s+MtZnUQlJNLx8/DKv6SB6ijN6KGeJ9oOvkQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIArtPXl0L13/wW8L7TgGoZ2x3WRaVmlw5GteRl0PMXIgAiBv5wHcdkAqMgd3bvAWgRiqeK/TOGwb75RZhCnn58dXkg=="}],"size":62700,"noattachment":false,"key":"/koa-serve-index/-/koa-serve-index-0.0.1.tgz"},"directories":{},"publish_time":1410417607340,"_cnpm_publish_time":1410417607340}},"readme":"# koa-serve-index\n\nkoa version of express serve index middleware\n\nhttps://github.com/expressjs/serve-index\n\n[![koa-serve-index](https://nodei.co/npm/koa-serve-index.png)](https://npmjs.org/package/koa-serve-index)\n[![NPM downloads](http://img.shields.io/npm/dm/koa-serve-index.svg)](https://npmjs.org/package/koa-serve-index)\n[![Build Status](https://secure.travis-ci.org/yiminghe/koa-serve-index.png?branch=master)](https://travis-ci.org/yiminghe/koa-serve-index)\n[![Coverage Status](https://img.shields.io/coveralls/yiminghe/koa-serve-index.svg)](https://coveralls.io/r/yiminghe/koa-serve-index?branch=master)\n[![Dependency Status](https://gemnasium.com/yiminghe/koa-serve-index.png)](https://gemnasium.com/yiminghe/koa-serve-index)\n[![node version](https://img.shields.io/badge/node.js-%3E=_0.11-green.svg?style=flat-square)](http://nodejs.org/download/)\n\n\n## difference between expressjs/serve-index\n\n- support fileSort option: [#3](https://github.com/yiminghe/koa-serve-index/pull/3)\n\n\n## example\n\n```javascript\nvar app = require('koa')();\napp.use(require('koa-serve-index')(process.cwd()));\napp.listen(90);\n```","_attachments":{},"homepage":"https://github.com/yiminghe/koa-serve-index#readme","bugs":{"url":"https://github.com/yiminghe/koa-serve-index/issues"},"license":"MIT"}