{"_id":"koa-static2","_rev":"11-dec879b5a226b487aa105f23f9b23ed6","name":"koa-static2","description":"Middleware for Koa@2 to serve a folder under a name declared by user","dist-tags":{"latest":"0.1.8"},"versions":{"0.1.0":{"name":"koa-static2","version":"0.1.0","description":"Middleware for Koa2 to serve a folder under a name declared by user with Babel","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Secbone/koa-static2.git"},"keywords":["koa","middleware","static","serve","send"],"author":{"name":"Secbone"},"license":"MIT","bugs":{"url":"https://github.com/Secbone/koa-static2/issues"},"homepage":"https://github.com/Secbone/koa-static2#readme","dependencies":{"koa-send":"^3.1.0"},"devDependencies":{"mocha":"^2.4.5"},"gitHead":"29828b09e6970203d4719b3df23c2068f118b25b","_id":"koa-static2@0.1.0","_shasum":"329ede47c560cee4d99197097d726237b9dd1c33","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.4.1","_npmUser":{"name":"secbone","email":"secbone@gmail.com"},"maintainers":[{"name":"secbone","email":"secbone@gmail.com"}],"dist":{"shasum":"329ede47c560cee4d99197097d726237b9dd1c33","tarball":"https://registry.npmjs.org/koa-static2/-/koa-static2-0.1.0.tgz","integrity":"sha512-NNOajMB6iqH7GuuexHzLtugTQ2B8jOlgQkimWqzwUEelz8qcQNsxnANOhD4elzemoJ6YTyt4pn6xNRl4I0GzZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFoTTh7fJtrQMk6LAdX4lL9oq9hJRc0E5LnpI181ePt1AiEArkYfJVTcA/T47QiJJnZVt5pVTYHCTFOVYZKdDG0FD2E="}]}},"0.1.1":{"name":"koa-static2","version":"0.1.1","description":"Middleware for Koa2 to serve a folder under a name declared by user with Babel","main":"dist/index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Secbone/koa-static2.git"},"keywords":["koa","middleware","static","serve","send"],"author":{"name":"Secbone"},"license":"MIT","bugs":{"url":"https://github.com/Secbone/koa-static2/issues"},"homepage":"https://github.com/Secbone/koa-static2#readme","dependencies":{"koa-send":"^3.1.0"},"devDependencies":{"babel-preset-es2015":"^6.3.13","babel-preset-stage-3":"^6.3.13","gulp":"^3.9.0","gulp-babel":"^6.1.1","mocha":"^2.4.5"},"gitHead":"36b90f88e815dcfcba70cf9326abac3efd8c947b","_id":"koa-static2@0.1.1","_shasum":"57194dceaed6c2b40907ef84c80e0a056878f057","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.4.1","_npmUser":{"name":"secbone","email":"secbone@gmail.com"},"maintainers":[{"name":"secbone","email":"secbone@gmail.com"}],"dist":{"shasum":"57194dceaed6c2b40907ef84c80e0a056878f057","tarball":"https://registry.npmjs.org/koa-static2/-/koa-static2-0.1.1.tgz","integrity":"sha512-6C6aVZV/FI3U9BuDO44BUJkV9/hBZhlXdVQkmW9NwiR9yttcVux8lPDzdb0CQrnMQKsn9cf5Q0Y5ESyGZZ97sA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4I+hCwZ+cuicvEd1DIEVT1tZnanFkoViL8QrxvGWddAIhALb54kQif3UGuIYD/G77fdJ/agPyWiDUsZHvCegVyDkv"}]}},"0.1.2":{"name":"koa-static2","version":"0.1.2","description":"Middleware for Koa2 to serve a folder under a name declared by user with Babel","main":"dist/index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+https://github.com/Secbone/koa-static2.git"},"keywords":["koa","middleware","static","serve","send"],"author":{"name":"Secbone"},"license":"MIT","bugs":{"url":"https://github.com/Secbone/koa-static2/issues"},"homepage":"https://github.com/Secbone/koa-static2#readme","dependencies":{"babel-runtime":"^6.9.2","koa-send":"^3.1.0"},"devDependencies":{"babel-plugin-transform-runtime":"^6.9.0","babel-preset-es2015":"^6.3.13","babel-preset-stage-3":"^6.3.13","gulp":"^3.9.0","gulp-babel":"^6.1.1","mocha":"^2.4.5"},"gitHead":"bc7d1587174f8ec67b05e539adec30ac49de1b08","_id":"koa-static2@0.1.2","_shasum":"806fc91cece3bb2956d6357b3a49c8c0bbce500e","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"secbone","email":"secbone@gmail.com"},"dist":{"shasum":"806fc91cece3bb2956d6357b3a49c8c0bbce500e","tarball":"https://registry.npmjs.org/koa-static2/-/koa-static2-0.1.2.tgz","integrity":"sha512-6WdaegY6g0v2vxErzPx1SY8TRW8w25mNEM1tBS3C9nXWnpfsfr0iOSFClEWTUfGKkB+guE2c640Q8I73X5gNAA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4QLcXNYdxXuGGxrjPZeFKh9YK2iUrtjFXpd7V2+cqHgIhALKzVmeIqR+wTuO17P7FS8xhFgK178ze8akmHqt804un"}]},"maintainers":[{"name":"secbone","email":"secbone@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/koa-static2-0.1.2.tgz_1468748750966_0.5289686541073024"}},"0.1.3":{"name":"koa-static2","version":"0.1.3","description":"Middleware for Koa2 to serve a folder under a name declared by user with Babel","main":"dist/index.js","scripts":{"test":"mocha --compilers js:babel-register --require babel-polyfill"},"repository":{"type":"git","url":"git+https://github.com/Secbone/koa-static2.git"},"keywords":["koa","middleware","static","serve","send"],"author":{"name":"Secbone"},"license":"MIT","bugs":{"url":"https://github.com/Secbone/koa-static2/issues"},"homepage":"https://github.com/Secbone/koa-static2#readme","dependencies":{"babel-runtime":"^6.9.2","koa-send":"^3.1.0"},"devDependencies":{"babel-plugin-transform-runtime":"^6.9.0","babel-polyfill":"^6.9.1","babel-preset-es2015":"^6.9.0","babel-preset-stage-3":"^6.3.13","babel-register":"^6.9.0","gulp":"^3.9.0","gulp-babel":"^6.1.1","koa":"^2.0.0","mocha":"^2.4.5","supertest":"^1.2.0"},"gitHead":"8c94b6c0e76295e01c06e69b9a20e213fd24b98c","_id":"koa-static2@0.1.3","_shasum":"cc2192364e49ed1d4d09fc0df6cdf1b83b9448ad","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"secbone","email":"secbone@gmail.com"},"dist":{"shasum":"cc2192364e49ed1d4d09fc0df6cdf1b83b9448ad","tarball":"https://registry.npmjs.org/koa-static2/-/koa-static2-0.1.3.tgz","integrity":"sha512-aK/qFS4Wzm7ewVQUsgm9lVoqixDs1mDEpxQM5/G5vo8o9iOkrzitUh3yhB1azPQuO5tB8Q+2UVIM6rMekkD/WA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDYkhdTWYx/zgPP0eDtx8BuoJYeupNcv+0e2VD0PnIDcgIhANdgDNVsHCtZSBowWVf6qjZCVq3cWOAdqVOJUzkIKRfF"}]},"maintainers":[{"name":"secbone","email":"secbone@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/koa-static2-0.1.3.tgz_1469020641785_0.44955660682171583"}},"0.1.4":{"name":"koa-static2","version":"0.1.4","description":"Middleware for Koa@2 to serve a folder under a name declared by user","main":"dist/index.js","scripts":{"test":"mocha --compilers js:babel-register --require babel-polyfill"},"repository":{"type":"git","url":"git+https://github.com/Secbone/koa-static2.git"},"keywords":["koa","middleware","static","serve","send"],"author":{"name":"Secbone"},"license":"MIT","bugs":{"url":"https://github.com/Secbone/koa-static2/issues"},"homepage":"https://github.com/Secbone/koa-static2#readme","dependencies":{"babel-runtime":"^6.9.2","koa-send":"^3.2.0"},"devDependencies":{"babel-plugin-transform-runtime":"^6.9.0","babel-polyfill":"^6.9.1","babel-preset-es2015":"^6.9.0","babel-preset-stage-3":"^6.3.13","babel-register":"^6.9.0","gulp":"^3.9.0","gulp-babel":"^6.1.1","koa":"^2.0.0","mocha":"^2.4.5","supertest":"^1.2.0"},"gitHead":"324e03407fbbd23034ff7b481f861ded03a7266a","_id":"koa-static2@0.1.4","_shasum":"1096b3ab813b2f5b753a821f08d2a660effffad3","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"secbone","email":"secbone@gmail.com"},"dist":{"shasum":"1096b3ab813b2f5b753a821f08d2a660effffad3","tarball":"https://registry.npmjs.org/koa-static2/-/koa-static2-0.1.4.tgz","integrity":"sha512-WzDQmaEBs4YMGDAFs3cwKT/k6TWR/7L/s2Cbmo+pse23W3XaDyctYqZSAhzWwKIXJYuhAcphAk9dmLUJzXfjMQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCh8y4HxyOx9WWxuCl0SAB/T+FqWUrTLZkNo3lFf3fB5wIhAKqLqylJZsNOMoIGZ9rbRAt2go4Z48wUEMZhmZHRv+1h"}]},"maintainers":[{"name":"secbone","email":"secbone@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/koa-static2-0.1.4.tgz_1469089295028_0.573478109203279"}},"0.1.5":{"name":"koa-static2","version":"0.1.5","description":"Middleware for Koa@2 to serve a folder under a name declared by user","main":"dist/index.js","scripts":{"test":"mocha --compilers js:babel-register --require babel-polyfill"},"repository":{"type":"git","url":"git+https://github.com/Secbone/koa-static2.git"},"keywords":["koa","middleware","static","serve","send"],"author":{"name":"Secbone"},"license":"MIT","bugs":{"url":"https://github.com/Secbone/koa-static2/issues"},"homepage":"https://github.com/Secbone/koa-static2#readme","dependencies":{"babel-runtime":"^6.9.2","koa-send":"^3.2.0"},"devDependencies":{"babel-plugin-transform-runtime":"^6.9.0","babel-polyfill":"^6.9.1","babel-preset-es2015":"^6.9.0","babel-preset-stage-3":"^6.3.13","babel-register":"^6.9.0","gulp":"^3.9.0","gulp-babel":"^6.1.1","koa":"^2.0.0","mocha":"^2.4.5","supertest":"^1.2.0"},"gitHead":"17d78a3b067a77c508e47afe98b18d69c44c7b0a","_id":"koa-static2@0.1.5","_shasum":"79d9182dc9f75ab7e28f2fbe61be9d16ab8e080a","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"secbone","email":"secbone@gmail.com"},"dist":{"shasum":"79d9182dc9f75ab7e28f2fbe61be9d16ab8e080a","tarball":"https://registry.npmjs.org/koa-static2/-/koa-static2-0.1.5.tgz","integrity":"sha512-mmdByg7esf/kop33VBiRp6gqV2wBZEoP9zv59XyZwIejv8NjAhYUdLRfMMDdLeUDd8eRlBQlE8ZzekwLQ6mZ3A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAOBu/Y0nSDSaorsi0i1aUf+WSmQio3HhKa/3XXaCex6AiEArYqBF1IJ/7FTF3UAyB59mA1f7dq4Dp9GygKoQs591bc="}]},"maintainers":[{"name":"secbone","email":"secbone@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/koa-static2-0.1.5.tgz_1469092083462_0.34143951442092657"}},"0.1.6":{"name":"koa-static2","version":"0.1.6","description":"Middleware for Koa@2 to serve a folder under a name declared by user","main":"dist/index.js","scripts":{"test":"mocha --compilers js:babel-register --require babel-polyfill"},"repository":{"type":"git","url":"git+https://github.com/Secbone/koa-static2.git"},"keywords":["koa","middleware","static","serve","send"],"author":{"name":"Secbone"},"license":"MIT","bugs":{"url":"https://github.com/Secbone/koa-static2/issues"},"homepage":"https://github.com/Secbone/koa-static2#readme","dependencies":{"babel-runtime":"^6.9.2","koa-send":"^3.2.0"},"devDependencies":{"babel-plugin-transform-runtime":"^6.9.0","babel-polyfill":"^6.9.1","babel-preset-es2015":"^6.9.0","babel-preset-stage-3":"^6.3.13","babel-register":"^6.9.0","gulp":"^3.9.0","gulp-babel":"^6.1.1","koa":"^2.0.0","mocha":"^2.4.5","supertest":"^1.2.0"},"gitHead":"e01b738e5ef5417737176bea8d1ce66b39125c78","_id":"koa-static2@0.1.6","_shasum":"7cf868d5d3fa2265d3ef5c59b40f168dc11bceb6","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"secbone","email":"secbone@gmail.com"},"dist":{"shasum":"7cf868d5d3fa2265d3ef5c59b40f168dc11bceb6","tarball":"https://registry.npmjs.org/koa-static2/-/koa-static2-0.1.6.tgz","integrity":"sha512-hHxlYD50xb+pSn5qAV/Xm4yx+eTbH6YqT/0kk+/KQA0X6smQ4UCOSSmGzNu9LX/piChEwcvAsknoT2gRZqjn5g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/9C5wETd8Y34MtsmhZj556tx6GOP/QKc26rfcQ6zH1QIhANQMmyEdbJyXyi+rKlZUCaRh4mnuhdcQCuQBI3MpW0pY"}]},"maintainers":[{"name":"secbone","email":"secbone@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/koa-static2-0.1.6.tgz_1469597493814_0.2058232487179339"}},"0.1.7":{"name":"koa-static2","version":"0.1.7","description":"Middleware for Koa@2 to serve a folder under a name declared by user","main":"index.js","scripts":{"test":"mocha --compilers js:babel-register --require babel-polyfill"},"repository":{"type":"git","url":"git+https://github.com/Secbone/koa-static2.git"},"keywords":["koa","middleware","static","serve","send"],"author":{"name":"Secbone"},"license":"MIT","bugs":{"url":"https://github.com/Secbone/koa-static2/issues"},"homepage":"https://github.com/Secbone/koa-static2#readme","dependencies":{"babel-runtime":"^6.9.2","koa-send":"^3.2.0"},"devDependencies":{"babel-plugin-transform-runtime":"^6.9.0","babel-polyfill":"^6.9.1","babel-preset-es2015":"^6.9.0","babel-preset-stage-3":"^6.3.13","babel-register":"^6.9.0","gulp":"^3.9.0","gulp-babel":"^6.1.1","koa":"^2.0.0","mocha":"^2.4.5","supertest":"^1.2.0"},"gitHead":"e01b738e5ef5417737176bea8d1ce66b39125c78","_id":"koa-static2@0.1.7","_shasum":"7da854ebf5d4b4294679c46af637085d8d114ce5","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"secbone","email":"secbone@gmail.com"},"dist":{"shasum":"7da854ebf5d4b4294679c46af637085d8d114ce5","tarball":"https://registry.npmjs.org/koa-static2/-/koa-static2-0.1.7.tgz","integrity":"sha512-dH0Kr82pQHwzxtX3rJF3UVgdNFf46DTSJUrYlpLUvD9T4Vc1WTHpwaWhVUOTDLVcznWns7PE7mgNvCzH1Jd5+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHkXQwFSXfnlMHuhG9ddZfDiNY7ggp2f2KnltX04y853AiEA2VmQ59ZfYYSV6wKYvPuq6CQHXngtt0IHP64lPvgBLOg="}]},"maintainers":[{"name":"secbone","email":"secbone@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/koa-static2-0.1.7.tgz_1469768392003_0.13447297597303987"}},"0.1.8":{"name":"koa-static2","version":"0.1.8","description":"Middleware for Koa@2 to serve a folder under a name declared by user","main":"index.js","scripts":{"test":"mocha --compilers js:babel-register --require babel-polyfill"},"repository":{"type":"git","url":"git+https://github.com/Secbone/koa-static2.git"},"keywords":["koa","middleware","static","serve","send"],"author":{"name":"Secbone"},"license":"MIT","bugs":{"url":"https://github.com/Secbone/koa-static2/issues"},"homepage":"https://github.com/Secbone/koa-static2#readme","dependencies":{"babel-runtime":"^6.9.2","koa-send":"^3.2.0"},"devDependencies":{"babel-plugin-transform-runtime":"^6.9.0","babel-polyfill":"^6.9.1","babel-preset-es2015":"^6.9.0","babel-preset-stage-3":"^6.3.13","babel-register":"^6.9.0","gulp":"^3.9.0","gulp-babel":"^6.1.1","koa":"^2.0.0","mocha":"^2.4.5","supertest":"^1.2.0"},"gitHead":"088188537ec9c2f80d845ffb441de41ba4926929","_id":"koa-static2@0.1.8","_shasum":"e3a117fb9029130f8c4ca1e362a918afab52f2fc","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"secbone","email":"secbone@gmail.com"},"dist":{"shasum":"e3a117fb9029130f8c4ca1e362a918afab52f2fc","tarball":"https://registry.npmjs.org/koa-static2/-/koa-static2-0.1.8.tgz","integrity":"sha512-d+GFOi4Zjms4RR3DSl9XWsN3hWS1u2pdNHsOmVRplngYgJWSCIfWGOz9FxNLHzEftP++V+VulEUFDadGXyXuLA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAjdQNME/Ak0+20wKz49VCodEyZkEeHM69uIpb6X0KCxAiBTpauXLhzyHtIccXqsyAoeF3imyisi7B06uJpu2hWQIQ=="}]},"maintainers":[{"name":"secbone","email":"secbone@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/koa-static2-0.1.8.tgz_1471835346843_0.059760772390291095"}}},"readme":"# Koa-static2\n\n[![NPM version][npm-image]][npm-url]\n[![Build Status][travis-image]][travis-url]\n[![Downloads][downloads-image]][downloads-url]\n\nMiddleware for Koa2 to serve a folder under a name declared by user\n\n## Install\n\n```\nnpm install koa-static2\n```\n\n## Usage\n\n```js\nimport Koa from \"koa\";\nimport serve from \"koa-static2\";\n\nconst app = new Koa();\n\napp.use(serve(\"static\", __dirname + \"/assets\"));\n```\n## License\n\nMIT\n\n\n[npm-image]: https://img.shields.io/npm/v/koa-static2.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/koa-static2\n[downloads-image]: http://img.shields.io/npm/dm/koa-static2.svg?style=flat-square\n[downloads-url]: https://npmjs.org/package/koa-static2\n[travis-image]: https://img.shields.io/travis/Secbone/koa-static2.svg?style=flat-square\n[travis-url]: https://travis-ci.org/Secbone/koa-static2\n","maintainers":[{"name":"secbone","email":"secbone@gmail.com"}],"time":{"modified":"2022-06-19T09:30:20.835Z","created":"2016-01-29T11:55:39.908Z","0.1.0":"2016-01-29T11:55:39.908Z","0.1.1":"2016-01-29T12:22:46.578Z","0.1.2":"2016-07-17T09:45:51.998Z","0.1.3":"2016-07-20T13:17:24.386Z","0.1.4":"2016-07-21T08:21:35.261Z","0.1.5":"2016-07-21T09:08:06.011Z","0.1.6":"2016-07-27T05:31:37.461Z","0.1.7":"2016-07-29T04:59:52.234Z","0.1.8":"2016-08-22T03:09:09.643Z"},"homepage":"https://github.com/Secbone/koa-static2#readme","keywords":["koa","middleware","static","serve","send"],"repository":{"type":"git","url":"git+https://github.com/Secbone/koa-static2.git"},"author":{"name":"Secbone"},"bugs":{"url":"https://github.com/Secbone/koa-static2/issues"},"license":"MIT","readmeFilename":"README.md"}