{"_id":"kox","_rev":"28-23313b08d6b56cc830b62d59ca357d89","name":"kox","description":"koa module addon, make write api server more easier. Design an api style, combine with swagger(inspired by hapi-swagger).","dist-tags":{"latest":"0.2.16"},"versions":{"0.1.0":{"name":"kox","description":"koa module addon, make write api server more easier. Design an api style, combine with swagger(inspired by hapi-swagger).","main":"index.js","version":"0.1.0","scripts":{"test":"npm run lint && mocha","dev":"NODE_ENV=development node app.js","bench":"cd benchmarks && make","lint":"eslint --ext .js lib index.js"},"repository":{"type":"git","url":"git+https://github.com/sunfuze/kox.git"},"keywords":["koa","api","swagger"],"license":"MIT","author":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"devDependencies":{"chai":"^3.5.0","chai-http":"^3.0.0","co-mocha":"^1.1.3","codecov":"^1.0.1","eslint":"^3.6.1","eslint-config-standard":"^6.1.0","eslint-friendly-formatter":"^2.0.6","eslint-plugin-promise":"^2.0.1","eslint-plugin-standard":"^2.0.1","mocha":"^3.1.0","require-dir":"^0.3.1"},"dependencies":{"bluebird":"^3.4.6","chalk":"^1.1.3","debug":"^2.2.0","handlebars":"^4.0.5","hoek":"^4.1.0","http-status":"^0.2.3","joi":"9.0.4","json-schema-ref-parser":"^3.1.2","koa":"^1.2.4","koa-body":"^1.6.0","koa-compose":"^2.4.0","koa-router":"^5.4.0","koa-static":"^2.0.0","lodash":"^4.16.4","swagger-parser":"^3.4.1"},"engines":{"node":">=6.0.0"},"gitHead":"6ffa259f092e60d05391bc37dbf6e257903a404a","bugs":{"url":"https://github.com/sunfuze/kox/issues"},"homepage":"https://github.com/sunfuze/kox#readme","_id":"kox@0.1.0","_shasum":"c1445f58fdb76683d562ee13d9de444d128ca77d","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"dist":{"shasum":"c1445f58fdb76683d562ee13d9de444d128ca77d","tarball":"https://registry.npmjs.org/kox/-/kox-0.1.0.tgz","integrity":"sha512-NJ6i1nQnZCnK+aPBetX12GssHQFhpPNxGSwTOvYmN0jt+IvfTBYqWnmZtWjqGYQK30DwvNpQxm70T+mgE0I2dg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfTdg4HR2AYkLZfjTR8U/WBWZKbq1hUQ4QwUk2vD96uwIgZAmaq/i6HMjhjArvEFzt5h+X8RhzLiCEQizAFW7hqr4="}]},"maintainers":[{"name":"sunfuze","email":"sunfuze.1989@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/kox-0.1.0.tgz_1476722735151_0.6150056610349566"}},"0.1.1":{"name":"kox","description":"koa module addon, make write api server more easier. Design an api style, combine with swagger(inspired by hapi-swagger).","main":"index.js","version":"0.1.1","scripts":{"test":"npm run lint && mocha","dev":"NODE_ENV=development node app.js","bench":"cd benchmarks && make","lint":"eslint --ext .js lib index.js"},"repository":{"type":"git","url":"git+https://github.com/sunfuze/kox.git"},"keywords":["koa","api","swagger"],"license":"MIT","author":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"devDependencies":{"chai":"^3.5.0","chai-http":"^3.0.0","co-mocha":"^1.1.3","codecov":"^1.0.1","eslint":"^3.6.1","eslint-config-standard":"^6.1.0","eslint-friendly-formatter":"^2.0.6","eslint-plugin-promise":"^2.0.1","eslint-plugin-standard":"^2.0.1","mocha":"^3.1.0","require-dir":"^0.3.1"},"dependencies":{"bluebird":"^3.4.6","chalk":"^1.1.3","debug":"^2.2.0","handlebars":"^4.0.5","hoek":"^4.1.0","http-status":"^0.2.3","joi":"9.0.4","json-schema-ref-parser":"^3.1.2","koa":"^1.2.4","koa-body":"^1.6.0","koa-compose":"^2.4.0","koa-router":"^5.4.0","koa-static":"^2.0.0","lodash":"^4.16.4","swagger-parser":"^3.4.1"},"engines":{"node":">=6.0.0"},"gitHead":"1822cbdf0faa404d00a38923a2c38b446322013e","bugs":{"url":"https://github.com/sunfuze/kox/issues"},"homepage":"https://github.com/sunfuze/kox#readme","_id":"kox@0.1.1","_shasum":"a57014430a76445f9e708dc40b498495fa74167a","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"dist":{"shasum":"a57014430a76445f9e708dc40b498495fa74167a","tarball":"https://registry.npmjs.org/kox/-/kox-0.1.1.tgz","integrity":"sha512-Tqa5lABhj4M6lBB9wsWaI6LdqooT9OOOLi0blFej1w1flyAmGUgHVVzfZVi1vPDHzU3x6wu79njDJKLMDdEbYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3KPwZcjBRRl41Q0839r5D97kfMveAr+0HPN8htvhKfQIgShkI2SzJmIa5arZXWYXrZblVC5n1G5fNDRvOIS0KDoI="}]},"maintainers":[{"name":"sunfuze","email":"sunfuze.1989@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/kox-0.1.1.tgz_1476756435239_0.23393359663896263"}},"0.1.2":{"name":"kox","description":"koa module addon, make write api server more easier. Design an api style, combine with swagger(inspired by hapi-swagger).","main":"index.js","version":"0.1.2","scripts":{"test":"npm run lint && mocha","dev":"NODE_ENV=development node app.js","bench":"cd benchmarks && make","lint":"eslint --ext .js lib index.js"},"repository":{"type":"git","url":"git+https://github.com/sunfuze/kox.git"},"keywords":["koa","api","swagger"],"license":"MIT","author":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"devDependencies":{"chai":"^3.5.0","chai-http":"^3.0.0","co-mocha":"^1.1.3","codecov":"^1.0.1","eslint":"^3.6.1","eslint-config-standard":"^6.1.0","eslint-friendly-formatter":"^2.0.6","eslint-plugin-promise":"^2.0.1","eslint-plugin-standard":"^2.0.1","mocha":"^3.1.0","require-dir":"^0.3.1"},"dependencies":{"bluebird":"^3.4.6","chalk":"^1.1.3","debug":"^2.2.0","handlebars":"^4.0.5","hoek":"^4.1.0","http-status":"^0.2.3","joi":"9.0.4","json-schema-ref-parser":"^3.1.2","koa":"^1.2.4","koa-body":"^1.6.0","koa-compose":"^2.4.0","koa-router":"^5.4.0","koa-static":"^2.0.0","lodash":"^4.16.4","swagger-parser":"^3.4.1"},"engines":{"node":">=6.0.0"},"gitHead":"d9c0573c4165c0e97e3dc1851f23164206b3c81f","bugs":{"url":"https://github.com/sunfuze/kox/issues"},"homepage":"https://github.com/sunfuze/kox#readme","_id":"kox@0.1.2","_shasum":"57b33fe48fb838e3d845fd6f75b1af3de90f0f88","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"dist":{"shasum":"57b33fe48fb838e3d845fd6f75b1af3de90f0f88","tarball":"https://registry.npmjs.org/kox/-/kox-0.1.2.tgz","integrity":"sha512-WzeSEykGdSopqnHmsoBwRsDdcPYnvl7lqOmmN1A4ytUk0AAuUOwLGGN4HBQ14LD5gaIdXCC3RCPtP/ObyIK3Hw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHQutedpBlvDVRn8fEK5XoOBaPfwOhwvqHUQrcjVBm24AiBFrYn5Cq5179GAgvX6aKlYpFrmwyZTucDWKmgQm/dCRQ=="}]},"maintainers":[{"name":"sunfuze","email":"sunfuze.1989@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/kox-0.1.2.tgz_1476758890649_0.5135713659692556"}},"0.1.3":{"name":"kox","description":"koa module addon, make write api server more easier. Design an api style, combine with swagger(inspired by hapi-swagger).","main":"index.js","version":"0.1.3","scripts":{"test":"npm run lint && mocha","dev":"NODE_ENV=development node app.js","bench":"cd benchmarks && make","lint":"eslint --ext .js lib index.js"},"repository":{"type":"git","url":"git+https://github.com/sunfuze/kox.git"},"keywords":["koa","api","swagger"],"license":"MIT","author":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"devDependencies":{"chai":"^3.5.0","chai-http":"^3.0.0","co-mocha":"^1.1.3","codecov":"^1.0.1","eslint":"^3.6.1","eslint-config-standard":"^6.1.0","eslint-friendly-formatter":"^2.0.6","eslint-plugin-promise":"^2.0.1","eslint-plugin-standard":"^2.0.1","mocha":"^3.1.0","require-dir":"^0.3.1"},"dependencies":{"bluebird":"^3.4.6","chalk":"^1.1.3","debug":"^2.2.0","handlebars":"^4.0.5","hoek":"^4.1.0","http-status":"^0.2.3","joi":"9.0.4","json-schema-ref-parser":"^3.1.2","koa":"^1.2.4","koa-body":"^1.6.0","koa-compose":"^2.4.0","koa-router":"^5.4.0","koa-static":"^2.0.0","lodash":"^4.16.4","swagger-parser":"^3.4.1"},"engines":{"node":">=6.0.0"},"gitHead":"7c3447fc51404b68bee5fe6e6deb8231eb3c7148","bugs":{"url":"https://github.com/sunfuze/kox/issues"},"homepage":"https://github.com/sunfuze/kox#readme","_id":"kox@0.1.3","_shasum":"452458a5c118292b90c2ab8d68d022a886ef0f66","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"dist":{"shasum":"452458a5c118292b90c2ab8d68d022a886ef0f66","tarball":"https://registry.npmjs.org/kox/-/kox-0.1.3.tgz","integrity":"sha512-U/sGIYxbzIYXjpXO5DhAILXcBRn0U807ptOy1TVIsmcPUOJNeyp2WLx24/QGtxMGQTMuzgFMIKCdtdac4kQbag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRdZq0ta64zjwi1yOoyDGph+MrzC7nep2X/K5sCKa9zAIgK83XrUESrt8i6Lu5iGJun558UU/JnruInAKYUlRRqpQ="}]},"maintainers":[{"name":"sunfuze","email":"sunfuze.1989@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/kox-0.1.3.tgz_1476764584712_0.8156525380909443"}},"0.1.4":{"name":"kox","description":"koa module addon, make write api server more easier. Design an api style, combine with swagger(inspired by hapi-swagger).","main":"index.js","version":"0.1.4","scripts":{"test":"npm run lint && mocha","dev":"NODE_ENV=development node app.js","bench":"cd benchmarks && make","lint":"eslint --ext .js lib index.js"},"repository":{"type":"git","url":"git+https://github.com/sunfuze/kox.git"},"keywords":["koa","api","swagger"],"license":"MIT","author":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"devDependencies":{"chai":"^3.5.0","chai-http":"^3.0.0","co-mocha":"^1.1.3","codecov":"^1.0.1","eslint":"^3.6.1","eslint-config-standard":"^6.1.0","eslint-friendly-formatter":"^2.0.6","eslint-plugin-promise":"^2.0.1","eslint-plugin-standard":"^2.0.1","mocha":"^3.1.0","require-dir":"^0.3.1"},"dependencies":{"bluebird":"^3.4.6","chalk":"^1.1.3","debug":"^2.2.0","handlebars":"^4.0.5","hoek":"^4.1.0","http-status":"^0.2.3","joi":"9.0.4","json-schema-ref-parser":"^3.1.2","koa":"^1.2.4","koa-body":"^1.6.0","koa-compose":"^2.4.0","koa-router":"^5.4.0","koa-static":"^2.0.0","lodash":"^4.16.4","swagger-parser":"^3.4.1"},"engines":{"node":">=6.0.0"},"gitHead":"da4ce9eb9c128d1d16298057e7cbe3c71787026e","bugs":{"url":"https://github.com/sunfuze/kox/issues"},"homepage":"https://github.com/sunfuze/kox#readme","_id":"kox@0.1.4","_shasum":"0657a1249fcc0928cb5edd72ac3389ca312f2be5","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"dist":{"shasum":"0657a1249fcc0928cb5edd72ac3389ca312f2be5","tarball":"https://registry.npmjs.org/kox/-/kox-0.1.4.tgz","integrity":"sha512-KFCBGcePP+dvz8/5IGu4OKPJl8iog9Wb2p1eP2ESGbMASEaZxHASV6/L4mwNDTw506kyHUEAVCFYQ0GN8uAuCQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXXWhPqiJPwp16DeaGO7rTgnTcJqqpd4n/gcaRPFhqDwIgU9NUyIsLIP2Yal1da2RLKHBnZcU8Gb77m9HoHO3WScw="}]},"maintainers":[{"name":"sunfuze","email":"sunfuze.1989@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/kox-0.1.4.tgz_1476772586579_0.5398815739899874"}},"0.1.5":{"name":"kox","description":"koa module addon, make write api server more easier. Design an api style, combine with swagger(inspired by hapi-swagger).","main":"index.js","version":"0.1.5","scripts":{"test":"npm run lint && mocha","dev":"NODE_ENV=development node app.js","bench":"cd benchmarks && make","lint":"eslint --ext .js lib index.js"},"repository":{"type":"git","url":"git+https://github.com/sunfuze/kox.git"},"keywords":["koa","api","swagger"],"license":"MIT","author":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"devDependencies":{"chai":"^3.5.0","chai-http":"^3.0.0","co-mocha":"^1.1.3","codecov":"^1.0.1","eslint":"^3.6.1","eslint-config-standard":"^6.1.0","eslint-friendly-formatter":"^2.0.6","eslint-plugin-promise":"^2.0.1","eslint-plugin-standard":"^2.0.1","mocha":"^3.1.0","require-dir":"^0.3.1"},"dependencies":{"bluebird":"^3.4.6","chalk":"^1.1.3","debug":"^2.2.0","handlebars":"^4.0.5","hoek":"^4.1.0","http-status":"^0.2.3","joi":"9.0.4","json-schema-ref-parser":"^3.1.2","koa":"^1.2.4","koa-body":"^1.6.0","koa-compose":"^2.4.0","koa-router":"^5.4.0","koa-static":"^2.0.0","lodash":"^4.16.4","swagger-parser":"^3.4.1"},"engines":{"node":">=6.0.0"},"gitHead":"f0b9a159a42dc2835827a549a056b50a0498449e","bugs":{"url":"https://github.com/sunfuze/kox/issues"},"homepage":"https://github.com/sunfuze/kox#readme","_id":"kox@0.1.5","_shasum":"33b8b470294d5ec7baffcdfeac3e07c7e41b1d58","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"dist":{"shasum":"33b8b470294d5ec7baffcdfeac3e07c7e41b1d58","tarball":"https://registry.npmjs.org/kox/-/kox-0.1.5.tgz","integrity":"sha512-u8yZLF2MODacBwtlUzFnmuzPNKX3/MBjm+Hcku1wpSJKwWmpl1u9s7dkgbd//y8O5T3chlOmxx9x1MQtpfVjkQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHDyqOS+YYYNO4rw50gbVI6103dirGXkUnc9ld1wA/RbAiBc7dZYxSpdHEc7++6ZBWWJFgei2g7IcFBLQGXtM2WHEA=="}]},"maintainers":[{"name":"sunfuze","email":"sunfuze.1989@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/kox-0.1.5.tgz_1476776101700_0.07648642524145544"}},"0.1.6":{"name":"kox","description":"koa module addon, make write api server more easier. Design an api style, combine with swagger(inspired by hapi-swagger).","main":"index.js","version":"0.1.6","scripts":{"test":"npm run lint && mocha","dev":"NODE_ENV=development node app.js","bench":"cd benchmarks && make","lint":"eslint --ext .js lib index.js"},"repository":{"type":"git","url":"git+https://github.com/sunfuze/kox.git"},"keywords":["koa","api","swagger"],"license":"MIT","author":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"devDependencies":{"chai":"^3.5.0","chai-http":"^3.0.0","co-mocha":"^1.1.3","codecov":"^1.0.1","eslint":"^3.6.1","eslint-config-standard":"^6.1.0","eslint-friendly-formatter":"^2.0.6","eslint-plugin-promise":"^2.0.1","eslint-plugin-standard":"^2.0.1","mocha":"^3.1.0","require-dir":"^0.3.1"},"dependencies":{"bluebird":"^3.4.6","chalk":"^1.1.3","debug":"^2.2.0","handlebars":"^4.0.5","hoek":"^4.1.0","http-status":"^0.2.3","joi":"9.0.4","json-schema-ref-parser":"^3.1.2","koa":"^1.2.4","koa-body":"^1.6.0","koa-compose":"^2.4.0","koa-router":"^5.4.0","koa-static":"^2.0.0","lodash":"^4.16.4","swagger-parser":"^3.4.1"},"engines":{"node":">=6.0.0"},"gitHead":"b6a3aa40869a0d3da4d6eb7f3b687631dedfe87b","bugs":{"url":"https://github.com/sunfuze/kox/issues"},"homepage":"https://github.com/sunfuze/kox#readme","_id":"kox@0.1.6","_shasum":"d57846ee0141f9c3ef2b8ebd38151d44e970be50","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"dist":{"shasum":"d57846ee0141f9c3ef2b8ebd38151d44e970be50","tarball":"https://registry.npmjs.org/kox/-/kox-0.1.6.tgz","integrity":"sha512-rGOGuS3tQ4oDvNB5EaOoXMslDjWJlAFlwyf++Pkbvh5stPLyBp2fBBMVKdKdi26ckaa5qJT5ut1MFNHrZLlAGA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBp/5WQG9lYbqyHC4W2G1PSlLfCdCOOpDgSE+SSjvRbGAiBP+WGBkX17CGZ75nm7LswfyJ+ldqsD/v2IC7M3B0VhzA=="}]},"maintainers":[{"name":"sunfuze","email":"sunfuze.1989@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/kox-0.1.6.tgz_1476776443469_0.5591924320906401"}},"0.1.7":{"name":"kox","description":"koa module addon, make write api server more easier. Design an api style, combine with swagger(inspired by hapi-swagger).","main":"index.js","version":"0.1.7","scripts":{"test":"npm run lint && mocha","dev":"NODE_ENV=development node app.js","bench":"cd benchmarks && make","lint":"eslint --ext .js lib index.js"},"repository":{"type":"git","url":"git+https://github.com/sunfuze/kox.git"},"keywords":["koa","api","swagger"],"license":"MIT","author":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"devDependencies":{"chai":"^3.5.0","chai-http":"^3.0.0","co-mocha":"^1.1.3","codecov":"^1.0.1","eslint":"^3.6.1","eslint-config-standard":"^6.1.0","eslint-friendly-formatter":"^2.0.6","eslint-plugin-promise":"^2.0.1","eslint-plugin-standard":"^2.0.1","mocha":"^3.1.0","require-dir":"^0.3.1"},"dependencies":{"bluebird":"^3.4.6","chalk":"^1.1.3","debug":"^2.2.0","handlebars":"^4.0.5","hoek":"^4.1.0","http-status":"^0.2.3","joi":"9.0.4","json-schema-ref-parser":"^3.1.2","koa":"^1.2.4","koa-body":"^1.6.0","koa-compose":"^2.4.0","koa-router":"^5.4.0","koa-static":"^2.0.0","lodash":"^4.16.4","swagger-parser":"^3.4.1"},"engines":{"node":">=6.0.0"},"gitHead":"14a90c3769517a0cc0650d4a16d8174c43364c00","bugs":{"url":"https://github.com/sunfuze/kox/issues"},"homepage":"https://github.com/sunfuze/kox#readme","_id":"kox@0.1.7","_shasum":"158491c5a94fd11a66baa6ea99e25b090eb6a41b","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"dist":{"shasum":"158491c5a94fd11a66baa6ea99e25b090eb6a41b","tarball":"https://registry.npmjs.org/kox/-/kox-0.1.7.tgz","integrity":"sha512-8buffqwYl6znsA7tlEdeM0jVI9YDBz+rZQNwO9f48z03kY6GHLitF1u7O/XLUM203pvtqP76QHdZplDSBSM31Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGEeT20ewf7Md+xUnAPSzbY+num53g4SONJXdW9f/55GAiA62MciYfl4yDcE7tOEOGDvbH1eXgv/86kQJNsarBUdWg=="}]},"maintainers":[{"name":"sunfuze","email":"sunfuze.1989@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/kox-0.1.7.tgz_1477464256003_0.954236158169806"}},"0.1.8":{"name":"kox","description":"koa module addon, make write api server more easier. Design an api style, combine with swagger(inspired by hapi-swagger).","main":"index.js","version":"0.1.8","scripts":{"test":"npm run lint && mocha","dev":"NODE_ENV=development node app.js","bench":"cd benchmarks && make","lint":"eslint --ext .js lib index.js"},"repository":{"type":"git","url":"git+https://github.com/sunfuze/kox.git"},"keywords":["koa","api","swagger"],"license":"MIT","author":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"devDependencies":{"chai":"^3.5.0","chai-http":"^3.0.0","co-mocha":"^1.1.3","codecov":"^1.0.1","eslint":"^3.6.1","eslint-config-standard":"^6.1.0","eslint-friendly-formatter":"^2.0.6","eslint-plugin-promise":"^2.0.1","eslint-plugin-standard":"^2.0.1","mocha":"^3.1.0","require-dir":"^0.3.1"},"dependencies":{"bluebird":"^3.4.6","chalk":"^1.1.3","debug":"^2.2.0","handlebars":"^4.0.5","hoek":"^4.1.0","http-status":"^0.2.3","joi":"9.0.4","json-schema-ref-parser":"^3.1.2","koa":"^1.2.4","koa-body":"^1.6.0","koa-compose":"^2.4.0","koa-router":"^5.4.0","koa-static":"^2.0.0","lodash":"^4.16.4","swagger-parser":"^3.4.1"},"engines":{"node":">=6.0.0"},"gitHead":"ad37864aca1d3f52f5f4f80730bb28a702a7a7d6","bugs":{"url":"https://github.com/sunfuze/kox/issues"},"homepage":"https://github.com/sunfuze/kox#readme","_id":"kox@0.1.8","_shasum":"4fe7748a7cb6e3f5d7731a37f4ec4e44245eea6c","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"dist":{"shasum":"4fe7748a7cb6e3f5d7731a37f4ec4e44245eea6c","tarball":"https://registry.npmjs.org/kox/-/kox-0.1.8.tgz","integrity":"sha512-5QFx8gz5o2cE3C1uP/57NWCb+VoZYm4+q8BU2ZrMU+8xH6eGpC8wyC60rrpL8Y9aUskriasDqqV3FFg++fjeXQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID6WdX3EXUr3W4B0h4gVmVVCDSlvVfd0YAc4f6/AjiZzAiBe1Wv3H+TQRqiix8zGy875xFdjJ/9x53XtehfPtPOjFg=="}]},"maintainers":[{"name":"sunfuze","email":"sunfuze.1989@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/kox-0.1.8.tgz_1477652441637_0.5952987601049244"}},"0.1.9":{"name":"kox","description":"koa module addon, make write api server more easier. Design an api style, combine with swagger(inspired by hapi-swagger).","main":"index.js","version":"0.1.9","scripts":{"test":"npm run lint && mocha","dev":"NODE_ENV=development node app.js","bench":"cd benchmarks && make","lint":"eslint --ext .js lib index.js"},"repository":{"type":"git","url":"git+https://github.com/sunfuze/kox.git"},"keywords":["koa","api","swagger"],"license":"MIT","author":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"devDependencies":{"chai":"^3.5.0","chai-http":"^3.0.0","co-mocha":"^1.1.3","codecov":"^1.0.1","eslint":"^3.6.1","eslint-config-standard":"^6.1.0","eslint-friendly-formatter":"^2.0.6","eslint-plugin-promise":"^2.0.1","eslint-plugin-standard":"^2.0.1","mocha":"^3.1.0","require-dir":"^0.3.1"},"dependencies":{"bluebird":"^3.4.6","chalk":"^1.1.3","debug":"^2.2.0","handlebars":"^4.0.5","hoek":"^4.1.0","http-status":"^0.2.3","joi":"9.0.4","json-schema-ref-parser":"^3.1.2","koa":"^1.2.4","koa-body":"^1.6.0","koa-compose":"^2.4.0","koa-router":"^5.4.0","koa-static":"^2.0.0","lodash":"^4.16.4","swagger-parser":"^3.4.1"},"engines":{"node":">=6.0.0"},"gitHead":"cb4cabb1944500c6ba5639744afe2570bfc0475e","bugs":{"url":"https://github.com/sunfuze/kox/issues"},"homepage":"https://github.com/sunfuze/kox#readme","_id":"kox@0.1.9","_shasum":"0b77ec03ff3ccd0e9cfec6b2b56fccdadfda98e6","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"dist":{"shasum":"0b77ec03ff3ccd0e9cfec6b2b56fccdadfda98e6","tarball":"https://registry.npmjs.org/kox/-/kox-0.1.9.tgz","integrity":"sha512-G6sT+XPdl+q8qajqEd5ryZcVmsmxmtIPVkiFIME1K43z3yW30fA7sgxhn2hTgiNg2vY42FGImuHXR8bOjh7CDg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPl/OehLGjd/f+2tp+C6zJygcxWqiq7qwLGrjeOyYfDAIgJXhEgGa8aZ7dc8eQxUzDr9cQ53Yb5xuZgnCeN30kzi4="}]},"maintainers":[{"name":"sunfuze","email":"sunfuze.1989@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/kox-0.1.9.tgz_1478053203989_0.5574153489433229"}},"0.1.10":{"name":"kox","description":"koa module addon, make write api server more easier. Design an api style, combine with swagger(inspired by hapi-swagger).","main":"index.js","version":"0.1.10","scripts":{"test":"npm run lint && mocha","dev":"NODE_ENV=development node app.js","bench":"cd benchmarks && make","lint":"eslint --ext .js lib index.js"},"repository":{"type":"git","url":"git+https://github.com/sunfuze/kox.git"},"keywords":["koa","api","swagger"],"license":"MIT","author":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"devDependencies":{"chai":"^3.5.0","chai-http":"^3.0.0","co-mocha":"^1.1.3","codecov":"^1.0.1","eslint":"^3.6.1","eslint-config-standard":"^6.1.0","eslint-friendly-formatter":"^2.0.6","eslint-plugin-promise":"^2.0.1","eslint-plugin-standard":"^2.0.1","mocha":"^3.1.0","require-dir":"^0.3.1"},"dependencies":{"bluebird":"^3.4.6","chalk":"^1.1.3","debug":"^2.2.0","handlebars":"^4.0.5","hoek":"^4.1.0","http-status":"^0.2.3","joi":"9.0.4","json-schema-ref-parser":"^3.1.2","koa":"^1.2.4","koa-body":"^1.6.0","koa-compose":"^2.4.0","koa-router":"^5.4.0","koa-static":"^2.0.0","lodash":"^4.16.4","swagger-parser":"^3.4.1"},"engines":{"node":">=6.0.0"},"gitHead":"24270fb8d4239b610d9c93c89408ab1932e9e5d7","bugs":{"url":"https://github.com/sunfuze/kox/issues"},"homepage":"https://github.com/sunfuze/kox#readme","_id":"kox@0.1.10","_shasum":"250733a784d7ac1520e7df17519ebf8d3010db97","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"dist":{"shasum":"250733a784d7ac1520e7df17519ebf8d3010db97","tarball":"https://registry.npmjs.org/kox/-/kox-0.1.10.tgz","integrity":"sha512-Ub8VYnqMh7lDHgXB2hUYCZn50tOaB2tdLBFvIhpQOxsjB+qjZ8bIuhCIDUeYUL0jjn1vjjgv+h9Qc5xFK9R2ug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC0wKYYV2oobBJiyZlBn6XSJZfogbXio+kD4/Z2bnxDHAiAzilNzjNVLSd6DpQ3Ew9gVXcaKVCER8/gScDnvpYzrUQ=="}]},"maintainers":[{"name":"sunfuze","email":"sunfuze.1989@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/kox-0.1.10.tgz_1478053518994_0.6449802885763347"}},"0.2.1":{"name":"kox","description":"koa module addon, make write api server more easier. Design an api style, combine with swagger(inspired by hapi-swagger).","main":"index.js","version":"0.2.1","scripts":{"test":"npm run lint && mocha","dev":"NODE_ENV=development node app.js","bench":"cd benchmarks && make","lint":"eslint --ext .js lib index.js"},"repository":{"type":"git","url":"git+https://github.com/sunfuze/kox.git"},"keywords":["koa","api","swagger"],"license":"MIT","author":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"devDependencies":{"chai":"^3.5.0","chai-http":"^3.0.0","co-mocha":"^1.1.3","codecov":"^1.0.1","eslint":"^3.6.1","eslint-config-standard":"^6.1.0","eslint-friendly-formatter":"^2.0.6","eslint-plugin-promise":"^2.0.1","eslint-plugin-standard":"^2.0.1","mocha":"^3.1.0"},"dependencies":{"bluebird":"^3.4.6","chalk":"^1.1.3","debug":"^2.2.0","handlebars":"^4.0.5","hoek":"^4.1.0","http-status":"^0.2.3","joi":"9.0.4","json-schema-ref-parser":"^3.1.2","koa":"^1.2.4","koa-body":"^1.6.0","koa-compose":"^2.4.0","koa-router":"^5.4.0","koa-static":"^2.0.0","lodash":"^4.16.4","require-dir":"^0.3.1","swagger-parser":"^3.4.1"},"engines":{"node":">=6.0.0"},"gitHead":"ea443c1a68712ff9e69055641d46eb339fbf3b91","bugs":{"url":"https://github.com/sunfuze/kox/issues"},"homepage":"https://github.com/sunfuze/kox#readme","_id":"kox@0.2.1","_shasum":"ebef51b68ecfc07a74497b412aa290610fa8d012","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"dist":{"shasum":"ebef51b68ecfc07a74497b412aa290610fa8d012","tarball":"https://registry.npmjs.org/kox/-/kox-0.2.1.tgz","integrity":"sha512-VRH3M+/nqKhZvtv4NXtYSiCzuUitGUjvGzXC11jB5YX6lojQkWvhuoL4hYW7qljhDWlQQrCQjxm0rHEu8jquSQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA8uciUOEC7Fj++DfyCuMCQwsbKQ7pNPJo8nIE3woCZ0AiBGc817NfKAnlmDS64ZrEGyDF35b7i3VH6fTzmDdshV9Q=="}]},"maintainers":[{"name":"sunfuze","email":"sunfuze.1989@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/kox-0.2.1.tgz_1478068682897_0.7975004925392568"}},"0.2.2":{"name":"kox","description":"koa module addon, make write api server more easier. Design an api style, combine with swagger(inspired by hapi-swagger).","main":"index.js","version":"0.2.2","scripts":{"test":"npm run lint && mocha","dev":"NODE_ENV=development node app.js","bench":"cd benchmarks && make","lint":"eslint --ext .js lib index.js"},"repository":{"type":"git","url":"git+https://github.com/sunfuze/kox.git"},"keywords":["koa","api","swagger"],"license":"MIT","author":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"devDependencies":{"chai":"^3.5.0","chai-http":"^3.0.0","co-mocha":"^1.1.3","codecov":"^1.0.1","eslint":"^3.6.1","eslint-config-standard":"^6.1.0","eslint-friendly-formatter":"^2.0.6","eslint-plugin-promise":"^2.0.1","eslint-plugin-standard":"^2.0.1","mocha":"^3.1.0"},"dependencies":{"bluebird":"^3.4.6","chalk":"^1.1.3","debug":"^2.2.0","handlebars":"^4.0.5","hoek":"^4.1.0","http-status":"^0.2.3","joi":"9.0.4","json-schema-ref-parser":"^3.1.2","koa":"^1.2.4","koa-body":"^1.6.0","koa-compose":"^2.4.0","koa-router":"^5.4.0","koa-static":"^2.0.0","lodash":"^4.16.4","require-dir":"^0.3.1","swagger-parser":"^3.4.1"},"engines":{"node":">=6.0.0"},"gitHead":"6fd76c864c37a183721495ae79a00e71a1ad5157","bugs":{"url":"https://github.com/sunfuze/kox/issues"},"homepage":"https://github.com/sunfuze/kox#readme","_id":"kox@0.2.2","_shasum":"fd463f980967e71e4f34453fae0cd48e72be5c2b","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"dist":{"shasum":"fd463f980967e71e4f34453fae0cd48e72be5c2b","tarball":"https://registry.npmjs.org/kox/-/kox-0.2.2.tgz","integrity":"sha512-EBpGtk1Z1nuHpSeWEox6ndekUGejaRVAFIDyQ3JO3fdvyUPSo30PIzO2I4mYyKTnbwIJgVhCP2xytMFN6vKyhw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdW0RZVMD+1HzQYtXsC0HpGdDQA4J5MGITRFHyeq9CLgIgGiKOGM6zofuyTT0YSAXdaUxCe0fMTBYk1jV40/JrMoI="}]},"maintainers":[{"name":"sunfuze","email":"sunfuze.1989@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/kox-0.2.2.tgz_1478069618532_0.17290726979263127"}},"0.2.3":{"name":"kox","description":"koa module addon, make write api server more easier. Design an api style, combine with swagger(inspired by hapi-swagger).","main":"index.js","version":"0.2.3","scripts":{"test":"npm run lint && mocha","dev":"NODE_ENV=development node app.js","bench":"cd benchmarks && make","lint":"eslint --ext .js lib index.js"},"repository":{"type":"git","url":"git+https://github.com/sunfuze/kox.git"},"keywords":["koa","api","swagger"],"license":"MIT","author":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"devDependencies":{"chai":"^3.5.0","chai-http":"^3.0.0","co-mocha":"^1.1.3","codecov":"^1.0.1","eslint":"^3.6.1","eslint-config-standard":"^6.1.0","eslint-friendly-formatter":"^2.0.6","eslint-plugin-promise":"^2.0.1","eslint-plugin-standard":"^2.0.1","mocha":"^3.1.0"},"dependencies":{"bluebird":"^3.4.6","chalk":"^1.1.3","debug":"^2.2.0","handlebars":"^4.0.5","hoek":"^4.1.0","http-status":"^0.2.3","joi":"9.0.4","json-schema-ref-parser":"^3.1.2","koa":"^1.2.4","koa-body":"^1.6.0","koa-compose":"^2.4.0","koa-router":"^5.4.0","koa-static":"^2.0.0","lodash":"^4.16.4","require-dir":"^0.3.1","swagger-parser":"^3.4.1"},"engines":{"node":">=6.0.0"},"gitHead":"75951fd0ac366b43a5beb672a918daa119d21363","bugs":{"url":"https://github.com/sunfuze/kox/issues"},"homepage":"https://github.com/sunfuze/kox#readme","_id":"kox@0.2.3","_shasum":"51d26dbc65ed9b72284c26b5786dd9d3f313f17b","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"dist":{"shasum":"51d26dbc65ed9b72284c26b5786dd9d3f313f17b","tarball":"https://registry.npmjs.org/kox/-/kox-0.2.3.tgz","integrity":"sha512-Qb4gb5Zi7ipQPVfV0bl4qeZRyweqACbGlsutSLakh01qznBs+8vQyUrXu9YpDxopPK7x+g2T8JEINP2Bgzna/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGTDUpSPam32qQ5/+gMp7qcnypTl1MejpslL8/V+pN+QIgcS5QDLobtyhbVS2+aRxGOzvuS07XjomzbRIyW1sqrGQ="}]},"maintainers":[{"name":"sunfuze","email":"sunfuze.1989@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/kox-0.2.3.tgz_1478075803653_0.41741933207958937"}},"0.2.5":{"name":"kox","description":"koa module addon, make write api server more easier. Design an api style, combine with swagger(inspired by hapi-swagger).","main":"index.js","version":"0.2.5","scripts":{"test":"npm run lint && mocha","dev":"NODE_ENV=development node app.js","bench":"cd benchmarks && make","lint":"eslint --ext .js lib index.js"},"repository":{"type":"git","url":"git+https://github.com/sunfuze/kox.git"},"keywords":["koa","api","swagger"],"license":"MIT","author":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"devDependencies":{"chai":"^3.5.0","chai-http":"^3.0.0","co-mocha":"^1.1.3","codecov":"^1.0.1","eslint":"^3.6.1","eslint-config-standard":"^6.1.0","eslint-friendly-formatter":"^2.0.6","eslint-plugin-promise":"^2.0.1","eslint-plugin-standard":"^2.0.1","mocha":"^3.1.0"},"dependencies":{"bluebird":"^3.4.6","chalk":"^1.1.3","debug":"^2.2.0","handlebars":"^4.0.5","hoek":"^4.1.0","http-status":"^0.2.3","joi":"9.0.4","json-schema-ref-parser":"^3.1.2","koa":"^1.2.4","koa-body":"^1.6.0","koa-compose":"^2.4.0","koa-router":"^5.4.0","koa-static":"^2.0.0","lodash":"^4.16.4","require-dir":"^0.3.1","swagger-parser":"^3.4.1"},"engines":{"node":">=6.0.0"},"gitHead":"2b76274be3225d0f68cba1d18398deac7a3ebf63","bugs":{"url":"https://github.com/sunfuze/kox/issues"},"homepage":"https://github.com/sunfuze/kox#readme","_id":"kox@0.2.5","_shasum":"1e1d501c3aa6f7b0dfcba684ca00a2e99cf6b7a3","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"dist":{"shasum":"1e1d501c3aa6f7b0dfcba684ca00a2e99cf6b7a3","tarball":"https://registry.npmjs.org/kox/-/kox-0.2.5.tgz","integrity":"sha512-OnPYvC0nwrzi59Agn3tHNM6o/QlrDanyCJYNpdR1+oAoXGnvEONCEgBqMA7fD812fpYOiGAl8q9V/bQptSeJ5Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCv3M5DprH97CyDPGmomndn9Oz/N17Igz6zNfyFjcuhTgIhAKn3WLh34QmLqg5L7kGNet/xvedGTowDjaeqcvwheSbR"}]},"maintainers":[{"name":"sunfuze","email":"sunfuze.1989@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/kox-0.2.5.tgz_1478163338392_0.2479391829110682"}},"0.2.6":{"name":"kox","description":"koa module addon, make write api server more easier. Design an api style, combine with swagger(inspired by hapi-swagger).","main":"index.js","version":"0.2.6","scripts":{"test":"npm run lint && mocha","dev":"NODE_ENV=development node app.js","bench":"cd benchmarks && make","lint":"eslint --ext .js lib index.js","prepublish":"npm run lint"},"repository":{"type":"git","url":"git+https://github.com/sunfuze/kox.git"},"keywords":["koa","api","swagger"],"license":"MIT","author":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"devDependencies":{"chai":"^3.5.0","chai-http":"^3.0.0","co-mocha":"^1.1.3","codecov":"^1.0.1","eslint":"^3.6.1","eslint-config-standard":"^6.1.0","eslint-friendly-formatter":"^2.0.6","eslint-plugin-promise":"^2.0.1","eslint-plugin-standard":"^2.0.1","mocha":"^3.1.0"},"dependencies":{"bluebird":"^3.4.6","chalk":"^1.1.3","debug":"^2.2.0","handlebars":"^4.0.5","hoek":"^4.1.0","http-status":"^0.2.3","joi":"9.0.4","json-schema-ref-parser":"^3.1.2","koa":"^1.2.4","koa-body":"^1.6.0","koa-compose":"^2.4.0","koa-router":"^5.4.0","koa-static":"^2.0.0","lodash":"^4.16.4","require-dir":"^0.3.1","swagger-parser":"^3.4.1"},"engines":{"node":">=6.0.0"},"gitHead":"8a0806b62c5a4a26de34cfb35951cf31b930dcb3","bugs":{"url":"https://github.com/sunfuze/kox/issues"},"homepage":"https://github.com/sunfuze/kox#readme","_id":"kox@0.2.6","_shasum":"008bdc6ff1d5d0a8ba1a27bc01eb5e93ebc9e365","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"dist":{"shasum":"008bdc6ff1d5d0a8ba1a27bc01eb5e93ebc9e365","tarball":"https://registry.npmjs.org/kox/-/kox-0.2.6.tgz","integrity":"sha512-6YUR1H3GWAAX8gG8YSY9DzSjwzvKl6ZrfRLrnq2aBR2S1E7AqKTWOkVMls8K7nwzb3eCdmfuPY9RCKehPBE/wg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQ/oNboOFDYsNQK+BSqGbXDSEVe7SMMTzzT7dY/lqShQIhAKXTZc9O/A8RBmX1J7eskmsIVfcWI67G9AYKFwJbzqhl"}]},"maintainers":[{"name":"sunfuze","email":"sunfuze.1989@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/kox-0.2.6.tgz_1478165396531_0.5887093378696591"}},"0.2.7":{"name":"kox","description":"koa module addon, make write api server more easier. Design an api style, combine with swagger(inspired by hapi-swagger).","main":"index.js","version":"0.2.7","scripts":{"test":"npm run lint && mocha","dev":"NODE_ENV=development node app.js","bench":"cd benchmarks && make","lint":"eslint --ext .js lib index.js","prepublish":"npm run test"},"repository":{"type":"git","url":"git+https://github.com/sunfuze/kox.git"},"keywords":["koa","api","swagger"],"license":"MIT","author":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"devDependencies":{"chai":"^3.5.0","chai-http":"^3.0.0","co-mocha":"^1.1.3","codecov":"^1.0.1","eslint":"^3.6.1","eslint-config-standard":"^6.1.0","eslint-friendly-formatter":"^2.0.6","eslint-plugin-promise":"^2.0.1","eslint-plugin-standard":"^2.0.1","mocha":"^3.1.0"},"dependencies":{"bluebird":"^3.4.6","chalk":"^1.1.3","debug":"^2.2.0","handlebars":"^4.0.5","hoek":"^4.1.0","http-status":"^0.2.3","joi":"9.0.4","json-schema-ref-parser":"^3.1.2","koa":"^1.2.4","koa-body":"^1.6.0","koa-compose":"^2.4.0","koa-router":"^5.4.0","koa-static":"^2.0.0","lodash":"^4.16.4","require-dir":"^0.3.1","swagger-parser":"^3.4.1"},"engines":{"node":">=6.0.0"},"gitHead":"a2dfef24a4715f0f9bff5c308b15beba0446501e","bugs":{"url":"https://github.com/sunfuze/kox/issues"},"homepage":"https://github.com/sunfuze/kox#readme","_id":"kox@0.2.7","_shasum":"02293f2948cd30f71df531dcd382b277367927fd","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"dist":{"shasum":"02293f2948cd30f71df531dcd382b277367927fd","tarball":"https://registry.npmjs.org/kox/-/kox-0.2.7.tgz","integrity":"sha512-DnOIn6dQm+1EmFfcQBvwl4lFM8gi3UwMhuweThS8FI6uiKYe3CzjRhB/uVCfiReoszlbGcZdEiQhDHFRfe/46g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1KJOyKN4O1FTkz7pb68qZ3TNhyiyLN3G5dPuWX7TRtQIhANcADQ860GoT8Gkh3pq9udPOtvElMndhtk/8fb29kshm"}]},"maintainers":[{"name":"sunfuze","email":"sunfuze.1989@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/kox-0.2.7.tgz_1478165530018_0.4180212505161762"}},"0.2.8":{"name":"kox","description":"koa module addon, make write api server more easier. Design an api style, combine with swagger(inspired by hapi-swagger).","main":"index.js","version":"0.2.8","scripts":{"test":"npm run lint && mocha","dev":"NODE_ENV=development node app.js","bench":"cd benchmarks && make","lint":"eslint --ext .js lib index.js","prepublish":"npm run test"},"repository":{"type":"git","url":"git+https://github.com/sunfuze/kox.git"},"keywords":["koa","api","swagger"],"license":"MIT","author":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"devDependencies":{"chai":"^3.5.0","chai-http":"^3.0.0","co-mocha":"^1.1.3","codecov":"^1.0.1","eslint":"^3.6.1","eslint-config-standard":"^6.1.0","eslint-friendly-formatter":"^2.0.6","eslint-plugin-promise":"^2.0.1","eslint-plugin-standard":"^2.0.1","mocha":"^3.1.0"},"dependencies":{"bluebird":"^3.4.6","chalk":"^1.1.3","debug":"^2.2.0","handlebars":"^4.0.5","hoek":"^4.1.0","http-status":"^0.2.3","joi":"9.0.4","json-schema-ref-parser":"^3.1.2","koa":"^1.2.4","koa-body":"^1.6.0","koa-compose":"^2.4.0","koa-router":"^5.4.0","koa-static":"^2.0.0","lodash":"^4.16.4","require-dir":"^0.3.1","swagger-parser":"^3.4.1"},"engines":{"node":">=6.0.0"},"gitHead":"7efa40fba32b0329f957ebc5dd1996e69eecbb05","bugs":{"url":"https://github.com/sunfuze/kox/issues"},"homepage":"https://github.com/sunfuze/kox#readme","_id":"kox@0.2.8","_shasum":"895bfefbc9548fea3684d344595df30ff0d5f17f","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"dist":{"shasum":"895bfefbc9548fea3684d344595df30ff0d5f17f","tarball":"https://registry.npmjs.org/kox/-/kox-0.2.8.tgz","integrity":"sha512-X0/b96FFc2iDiDMVv19MYNFYMwwqpgLS03VuWDHbAnU5Sid/SFTtMhI77ozHM9asqNMoDE2IO7DLQMxUkkL7ZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDW2VktTEbSamLf5hPOyo//LbWb0AahxyWUwuqRtpJWrgIhAPAOmDuOmCm7576TWyVbOG2bj3OVZdUnx3jnKHT3Ik7a"}]},"maintainers":[{"name":"sunfuze","email":"sunfuze.1989@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/kox-0.2.8.tgz_1478661907701_0.4438435479532927"}},"0.2.9":{"name":"kox","description":"koa module addon, make write api server more easier. Design an api style, combine with swagger(inspired by hapi-swagger).","main":"index.js","version":"0.2.9","scripts":{"test":"npm run lint && mocha","dev":"NODE_ENV=development node app.js","bench":"cd benchmarks && make","lint":"eslint --ext .js lib index.js","prepublish":"npm run test"},"repository":{"type":"git","url":"git+https://github.com/sunfuze/kox.git"},"keywords":["koa","api","swagger"],"license":"MIT","author":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"devDependencies":{"chai":"^3.5.0","chai-http":"^3.0.0","co-mocha":"^1.1.3","codecov":"^1.0.1","eslint":"^3.6.1","eslint-config-standard":"^6.1.0","eslint-friendly-formatter":"^2.0.6","eslint-plugin-promise":"^2.0.1","eslint-plugin-standard":"^2.0.1","mocha":"^3.1.0"},"dependencies":{"bluebird":"^3.4.6","chalk":"^1.1.3","debug":"^2.2.0","handlebars":"^4.0.5","hoek":"^4.1.0","http-status":"^0.2.3","joi":"9.0.4","json-schema-ref-parser":"^3.1.2","koa":"^1.2.4","koa-body":"^1.6.0","koa-compose":"^2.4.0","koa-router":"^5.4.0","koa-static":"^2.0.0","lodash":"^4.16.4","require-dir":"^0.3.1","swagger-parser":"^3.4.1"},"engines":{"node":">=6.0.0"},"gitHead":"7cd0b09dea29c19ce9776e645987596e9d680a91","bugs":{"url":"https://github.com/sunfuze/kox/issues"},"homepage":"https://github.com/sunfuze/kox#readme","_id":"kox@0.2.9","_shasum":"9f5d4f7a302466b16dc7ae4e8760ecad8a5807c6","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"dist":{"shasum":"9f5d4f7a302466b16dc7ae4e8760ecad8a5807c6","tarball":"https://registry.npmjs.org/kox/-/kox-0.2.9.tgz","integrity":"sha512-aIhhc47e1QDDQ23SALdA8F52L7HTfVACkWC5uiAD9UjknIXoZUZ8xOOWxl/0FLK3R84o9jR7wCAWTfxzbzlToQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/5+zyULvwETpMeya8Qw5wSd6IppokmSGAu4QkcKjfSwIgdEOOIip3Oo1QaQMRrA3QQxjxh3FAGpZ8rDRAjOxEOAs="}]},"maintainers":[{"name":"sunfuze","email":"sunfuze.1989@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/kox-0.2.9.tgz_1478663317674_0.1482486091554165"}},"0.2.10":{"name":"kox","description":"koa module addon, make write api server more easier. Design an api style, combine with swagger(inspired by hapi-swagger).","main":"index.js","version":"0.2.10","scripts":{"test":"npm run lint && mocha","dev":"NODE_ENV=development node app.js","bench":"cd benchmarks && make","lint":"eslint --ext .js lib index.js","prepublish":"npm run test","pub":"npm publish --registry  https://registry.npmjs.org"},"repository":{"type":"git","url":"git+https://github.com/sunfuze/kox.git"},"keywords":["koa","api","swagger"],"license":"MIT","author":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"devDependencies":{"chai":"^3.5.0","chai-http":"^3.0.0","co-mocha":"^1.1.3","codecov":"^1.0.1","eslint":"^3.6.1","eslint-config-standard":"^6.1.0","eslint-friendly-formatter":"^2.0.6","eslint-plugin-promise":"^2.0.1","eslint-plugin-standard":"^2.0.1","mocha":"^3.1.0"},"dependencies":{"bluebird":"^3.4.6","chalk":"^1.1.3","debug":"^2.2.0","handlebars":"^4.0.5","hoek":"^4.1.0","http-status":"^0.2.3","joi":"9.0.4","json-schema-ref-parser":"^3.1.2","koa":"^1.2.4","koa-body":"^1.6.0","koa-compose":"^2.4.0","koa-router":"^5.4.0","koa-static":"^2.0.0","lodash":"^4.16.4","require-dir":"^0.3.1","swagger-parser":"^3.4.1"},"engines":{"node":">=6.0.0"},"gitHead":"353c66bc9dbe69c1462ddc4f4b19801aea9bc865","bugs":{"url":"https://github.com/sunfuze/kox/issues"},"homepage":"https://github.com/sunfuze/kox#readme","_id":"kox@0.2.10","_shasum":"7f03482880e526c1d9d718dde512ebbd382c8009","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"dist":{"shasum":"7f03482880e526c1d9d718dde512ebbd382c8009","tarball":"https://registry.npmjs.org/kox/-/kox-0.2.10.tgz","integrity":"sha512-/ksWwb8o/R4zEPeUaNld5wLb57wyqps8pYZodfkrrgRpxb9KEoSLO1GXy3QP9jru3ygNsW+bGB6WoLdYX/uvQQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEuq7YveDvY57Y2Igjm9HkfsQEr3Nb3rWjIdXmjdX7WXAiEAqseQAjbSVkVvcmST7panSxyUxowFLJYkXK0l18DI6mc="}]},"maintainers":[{"name":"sunfuze","email":"sunfuze.1989@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/kox-0.2.10.tgz_1478666152920_0.04190072580240667"}},"0.2.11":{"name":"kox","description":"koa module addon, make write api server more easier. Design an api style, combine with swagger(inspired by hapi-swagger).","main":"index.js","version":"0.2.11","scripts":{"test":"npm run lint && mocha","dev":"NODE_ENV=development node app.js","bench":"cd benchmarks && make","lint":"eslint --ext .js lib index.js","prepublish":"npm run test","pub":"npm publish --registry  https://registry.npmjs.org"},"repository":{"type":"git","url":"git+https://github.com/sunfuze/kox.git"},"keywords":["koa","api","swagger"],"license":"MIT","author":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"devDependencies":{"chai":"^3.5.0","chai-http":"^3.0.0","co-mocha":"^1.1.3","codecov":"^1.0.1","eslint":"^3.6.1","eslint-config-standard":"^6.1.0","eslint-friendly-formatter":"^2.0.6","eslint-plugin-promise":"^2.0.1","eslint-plugin-standard":"^2.0.1","mocha":"^3.1.0"},"dependencies":{"bluebird":"^3.4.6","chalk":"^1.1.3","debug":"^2.2.0","handlebars":"^4.0.5","hoek":"^4.1.0","http-status":"^0.2.3","joi":"9.0.4","json-schema-ref-parser":"^3.1.2","koa":"^1.2.4","koa-body":"^1.6.0","koa-compose":"^2.4.0","koa-router":"^5.4.0","koa-static":"^2.0.0","lodash":"^4.16.4","require-dir":"^0.3.1","swagger-parser":"^3.4.1"},"engines":{"node":">=6.0.0"},"gitHead":"2d0cedfbc26e1f653f22e459d87b7ae79bd688e3","bugs":{"url":"https://github.com/sunfuze/kox/issues"},"homepage":"https://github.com/sunfuze/kox#readme","_id":"kox@0.2.11","_shasum":"c2a9100dbafb0da0c0b9bd1044b090e4f11b8f4b","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"dist":{"shasum":"c2a9100dbafb0da0c0b9bd1044b090e4f11b8f4b","tarball":"https://registry.npmjs.org/kox/-/kox-0.2.11.tgz","integrity":"sha512-ZeL5vERYJs0sJmH3IEL9Um5tbJAWnHzK2QfmYrLWH1VSCQZ2tAgafliLyDr1eOnUogSSgMMczOnSpv9x7EgHrQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4IvC/amHzIiz3L2bHJbdbhKRm/hxEVNc53oShJIz1eAIgL+s0klZ8KiJal08B3/FnTffXm70hMdgCrR3ZLvmlHNk="}]},"maintainers":[{"name":"sunfuze","email":"sunfuze.1989@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/kox-0.2.11.tgz_1478674965459_0.8372495551593602"}},"0.2.12":{"name":"kox","description":"koa module addon, make write api server more easier. Design an api style, combine with swagger(inspired by hapi-swagger).","main":"index.js","version":"0.2.12","scripts":{"test":"npm run lint && mocha","dev":"NODE_ENV=development node app.js","bench":"cd benchmarks && make","lint":"eslint --ext .js lib index.js","prepublish":"npm run test","pub":"npm publish --registry  https://registry.npmjs.org"},"repository":{"type":"git","url":"git+https://github.com/sunfuze/kox.git"},"keywords":["koa","api","swagger"],"license":"MIT","author":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"devDependencies":{"chai":"^3.5.0","chai-http":"^3.0.0","co-mocha":"^1.1.3","codecov":"^1.0.1","eslint":"^3.6.1","eslint-config-standard":"^6.1.0","eslint-friendly-formatter":"^2.0.6","eslint-plugin-promise":"^2.0.1","eslint-plugin-standard":"^2.0.1","mocha":"^3.1.0"},"dependencies":{"bluebird":"^3.4.6","chalk":"^1.1.3","debug":"^2.2.0","handlebars":"^4.0.5","hoek":"^4.1.0","http-status":"^0.2.3","joi":"9.0.4","json-schema-ref-parser":"^3.1.2","koa":"^1.2.4","koa-body":"^1.6.0","koa-compose":"^2.4.0","koa-router":"^5.4.0","koa-static":"^2.0.0","lodash":"^4.16.4","require-dir":"^0.3.1","swagger-parser":"^3.4.1"},"engines":{"node":">=6.0.0"},"gitHead":"556934fa9d04493c0d7bbd8adebe72b5dc163f03","bugs":{"url":"https://github.com/sunfuze/kox/issues"},"homepage":"https://github.com/sunfuze/kox#readme","_id":"kox@0.2.12","_shasum":"23231b58091fc5e36aea45c43996826a492cbf58","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"dist":{"shasum":"23231b58091fc5e36aea45c43996826a492cbf58","tarball":"https://registry.npmjs.org/kox/-/kox-0.2.12.tgz","integrity":"sha512-myaihrOyLZwOrzu6Z3g04nh3QR6aPtXkwfzRIlKCrcd68xlcqhkLNCxKRBT4BNi9kis2Li59XMP3EN30d/yYtA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFRcS9vlWXEZvdxsvag9OlbqSs7GSfais7XlEPceNNJCAiAOAf/3M47iXwMTTEkFkccxaOD0PQi/TSQaLtuGIfWZcQ=="}]},"maintainers":[{"name":"sunfuze","email":"sunfuze.1989@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/kox-0.2.12.tgz_1478860903206_0.4105201989877969"}},"0.2.13":{"name":"kox","description":"koa module addon, make write api server more easier. Design an api style, combine with swagger(inspired by hapi-swagger).","main":"index.js","version":"0.2.13","scripts":{"test":"npm run lint && mocha","dev":"NODE_ENV=development node app.js","bench":"cd benchmarks && make","lint":"eslint --ext .js lib index.js","prepublish":"npm run test","pub":"npm publish --registry  https://registry.npmjs.org"},"repository":{"type":"git","url":"git+https://github.com/sunfuze/kox.git"},"keywords":["koa","api","swagger"],"license":"MIT","author":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"devDependencies":{"chai":"^3.5.0","chai-http":"^3.0.0","co-mocha":"^1.1.3","codecov":"^1.0.1","eslint":"^3.6.1","eslint-config-standard":"^6.1.0","eslint-friendly-formatter":"^2.0.6","eslint-plugin-promise":"^2.0.1","eslint-plugin-standard":"^2.0.1","mocha":"^3.1.0"},"dependencies":{"bluebird":"^3.4.6","chalk":"^1.1.3","co-wechat-api":"^2.6.0","debug":"^2.2.0","handlebars":"^4.0.5","hoek":"^4.1.0","http-status":"^0.2.3","joi":"9.0.4","json-schema-ref-parser":"^3.1.2","koa":"^1.2.4","koa-body":"^1.6.0","koa-compose":"^2.4.0","koa-router":"^5.4.0","koa-static":"^2.0.0","lodash":"^4.16.4","require-dir":"^0.3.1","swagger-parser":"^3.4.1"},"engines":{"node":">=6.0.0"},"gitHead":"e099ac49c2a0d84a0da6c8f76c10360752aee69d","bugs":{"url":"https://github.com/sunfuze/kox/issues"},"homepage":"https://github.com/sunfuze/kox#readme","_id":"kox@0.2.13","_shasum":"686843b35d64afd36b0e4ccf6ca93fe8fa6881e4","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"dist":{"shasum":"686843b35d64afd36b0e4ccf6ca93fe8fa6881e4","tarball":"https://registry.npmjs.org/kox/-/kox-0.2.13.tgz","integrity":"sha512-hEQuKXwhhzfH541+MWnZGVAxa6OXVbJqZPrq18xjVEvOgAQEA37Xbemq6nvU8Xu828v+S8CASjn2oaS6VPrPQg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkP2K+iSLD3SPgX1qZh0tin3QbAOZh402+sRs78VfOIQIhAPIovwCU+WXIZP+gQES3VabuayUsI2rfu94TFv9uN3AJ"}]},"maintainers":[{"name":"sunfuze","email":"sunfuze.1989@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/kox-0.2.13.tgz_1479285627940_0.6093531271908432"}},"0.2.14":{"name":"kox","description":"koa module addon, make write api server more easier. Design an api style, combine with swagger(inspired by hapi-swagger).","main":"index.js","version":"0.2.14","scripts":{"test":"npm run lint && mocha","dev":"NODE_ENV=development node app.js","bench":"cd benchmarks && make","lint":"eslint --ext .js lib index.js","prepublish":"npm run test","pub":"npm publish --registry  https://registry.npmjs.org"},"repository":{"type":"git","url":"git+https://github.com/sunfuze/kox.git"},"keywords":["koa","api","swagger"],"license":"MIT","author":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"devDependencies":{"chai":"^3.5.0","chai-http":"^3.0.0","co-mocha":"^1.1.3","codecov":"^1.0.1","eslint":"^3.6.1","eslint-config-standard":"^6.1.0","eslint-friendly-formatter":"^2.0.6","eslint-plugin-promise":"^2.0.1","eslint-plugin-standard":"^2.0.1","mocha":"^3.1.0"},"dependencies":{"bluebird":"^3.4.6","chalk":"^1.1.3","co-wechat-api":"^2.6.0","debug":"^2.2.0","handlebars":"^4.0.5","hoek":"^4.1.0","http-status":"^0.2.3","joi":"9.0.4","json-schema-ref-parser":"^3.1.2","koa":"^1.2.4","koa-body":"^1.6.0","koa-compose":"^2.4.0","koa-router":"^5.4.0","koa-static":"^2.0.0","lodash":"^4.16.4","require-dir":"^0.3.1","swagger-parser":"^3.4.1"},"engines":{"node":">=6.0.0"},"gitHead":"e099ac49c2a0d84a0da6c8f76c10360752aee69d","bugs":{"url":"https://github.com/sunfuze/kox/issues"},"homepage":"https://github.com/sunfuze/kox#readme","_id":"kox@0.2.14","_shasum":"4e72aa5fa872a9b6ca0e7e50cf0d664dcb5f46b8","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"dist":{"shasum":"4e72aa5fa872a9b6ca0e7e50cf0d664dcb5f46b8","tarball":"https://registry.npmjs.org/kox/-/kox-0.2.14.tgz","integrity":"sha512-NJS/ktxNK1zHmnJFbCnjsB7vavLHsZ68tbwAj1eTmUCxoFx2wzdWaqJivOxGKLbbQskSZjSf5g77/WfGBc9OEw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHIOljOVQvg8jvP9PJDq5QxY2XcwPSUN6TL+juIMHIN3AiEA1vNB61XavWGZyzAEbzOUn5818meyILR+RW7KYdZ7uNg="}]},"maintainers":[{"name":"sunfuze","email":"sunfuze.1989@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/kox-0.2.14.tgz_1479806416219_0.9530565890017897"}},"0.2.15":{"name":"kox","description":"koa module addon, make write api server more easier. Design an api style, combine with swagger(inspired by hapi-swagger).","main":"index.js","version":"0.2.15","scripts":{"test":"npm run lint && mocha","dev":"NODE_ENV=development node app.js","bench":"cd benchmarks && make","lint":"eslint --ext .js lib index.js","prepublish":"npm run test","pub":"npm publish --registry  https://registry.npmjs.org"},"repository":{"type":"git","url":"git+https://github.com/sunfuze/kox.git"},"keywords":["koa","api","swagger"],"license":"MIT","author":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"devDependencies":{"chai":"^3.5.0","chai-http":"^3.0.0","co-mocha":"^1.1.3","codecov":"^1.0.1","eslint":"^3.6.1","eslint-config-standard":"^6.1.0","eslint-friendly-formatter":"^2.0.6","eslint-plugin-promise":"^2.0.1","eslint-plugin-standard":"^2.0.1","mocha":"^3.1.0"},"dependencies":{"bluebird":"^3.4.6","chalk":"^1.1.3","co-wechat-api":"^2.6.0","debug":"^2.2.0","handlebars":"^4.0.5","hoek":"^4.1.0","http-status":"^0.2.3","joi":"9.0.4","json-schema-ref-parser":"^3.1.2","koa":"^1.2.4","koa-body":"^1.6.0","koa-compose":"^2.4.0","koa-router":"^5.4.0","koa-static":"^2.0.0","lodash":"^4.16.4","require-dir":"^0.3.1","swagger-client":"^2.1.25","swagger-parser":"^3.4.1"},"engines":{"node":">=6.0.0"},"gitHead":"c404a8c5373513064d6130c018458c780786d0bc","bugs":{"url":"https://github.com/sunfuze/kox/issues"},"homepage":"https://github.com/sunfuze/kox#readme","_id":"kox@0.2.15","_shasum":"d8eff25fddc915a2c467fdf0d24f423370ac8d61","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"dist":{"shasum":"d8eff25fddc915a2c467fdf0d24f423370ac8d61","tarball":"https://registry.npmjs.org/kox/-/kox-0.2.15.tgz","integrity":"sha512-CIi8fzi3Con0QYbCrrJ2Rz6rI1Ag/o/F2I7A9zWdJWUXZJAXBja/+EjOLgRYOzs5RMYJFrEpHq0YS6AWALyDrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOHrnVt/diRGF9UmZR3Ny0wRCpjIxVFXSHE7DtdKfVWwIgeW5i73U+txXbq1aA1AW/oFWxxZSeanR3YwdDi25dxD4="}]},"maintainers":[{"name":"sunfuze","email":"sunfuze.1989@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/kox-0.2.15.tgz_1479984306849_0.8639867717865855"}},"0.2.16":{"name":"kox","description":"koa module addon, make write api server more easier. Design an api style, combine with swagger(inspired by hapi-swagger).","main":"index.js","version":"0.2.16","scripts":{"test":"npm run lint && mocha","dev":"NODE_ENV=development node app.js","bench":"cd benchmarks && make","lint":"eslint --ext .js lib index.js","prepublish":"npm run test","pub":"npm publish --registry  https://registry.npmjs.org"},"repository":{"type":"git","url":"git+https://github.com/sunfuze/kox.git"},"keywords":["koa","api","swagger"],"license":"MIT","author":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"devDependencies":{"chai":"^3.5.0","chai-http":"^3.0.0","co-mocha":"^1.1.3","codecov":"^1.0.1","eslint":"^3.6.1","eslint-config-standard":"^6.1.0","eslint-friendly-formatter":"^2.0.6","eslint-plugin-promise":"^2.0.1","eslint-plugin-standard":"^2.0.1","mocha":"^3.1.0"},"dependencies":{"bluebird":"^3.4.6","chalk":"^1.1.3","co-wechat-api":"^2.6.0","debug":"^2.2.0","handlebars":"^4.0.5","hoek":"^4.1.0","http-status":"^0.2.3","joi":"9.0.4","json-schema-ref-parser":"^3.1.2","koa":"^1.2.4","koa-body":"^1.6.0","koa-compose":"^2.4.0","koa-router":"^5.4.0","koa-static":"^2.0.0","lodash":"^4.16.4","require-dir":"^0.3.1","swagger-client":"^2.1.25","swagger-parser":"^3.4.1"},"engines":{"node":">=6.0.0"},"gitHead":"2b86ad04dd8a22bd4f1f7f27fc6a2ed00ee65338","bugs":{"url":"https://github.com/sunfuze/kox/issues"},"homepage":"https://github.com/sunfuze/kox#readme","_id":"kox@0.2.16","_shasum":"e9d2867157fae8903d007d97c2546d80b03b8021","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.0","_npmUser":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"dist":{"shasum":"e9d2867157fae8903d007d97c2546d80b03b8021","tarball":"https://registry.npmjs.org/kox/-/kox-0.2.16.tgz","integrity":"sha512-HWvBik2jKlxWqUMZBFKskc50cpKr4PrIauvxqTz8yaVD0DqIw2UtCLFim0io7nmxkeXdD9jN1/vpuq9xTFhw8w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGj6K7VgDtSARe2ifWwwyaTMu121xQPjgSXCuBk7O3VeAiEA1mWTm4oM0CZXmoDsj6jUpAnjpr1ggOGNEOD5xZ4CUIk="}]},"maintainers":[{"name":"sunfuze","email":"sunfuze.1989@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/kox-0.2.16.tgz_1504161269423_0.8800483369268477"}}},"readme":"# KOX\n\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n\nkoa module addon, make write api server more easier. Design an api style, combine with swagger(inspired by hapi-swagger).\n\n## Installation\n\n```\n $ npm i kox\n```\n\n## Example\n\n\n```js\n// this will return an koa instance, so all koa properties are supported by kox.\nconst app = require('kox')\nconst apis = [{\n  method: 'get',\n  path: '/',\n  handler: function (ctx) {\n    ctx.set('x-powered-by', 'kox')\n    return \"hello world\"\n  }\n}]\napp.loadApis(api)\napp.listen(3838)\n```\n\n## Getting started\n- [stores-example](https://github.com/sunfuze/kox/blob/master/example/README.md)\n\n## API\n\n### app\nBecause `kox` is just `koa` addon, so all koa app `api` are supported.\nYou can read [koa docs](https://github.com/koajs/koa/blob/master/docs/api/index.md).\n\nIn kox, i use `koa-body` to handle request body parsing, so you dont need to add this middleware again in your project, the default body parser setting as follow:  \n\n```js\n{\n  jsonLimit: '100KB',\n  formLimit: '50KB',\n  multipart: true,\n  formidable: {\n  uploadDir: join(process.cwd(), 'runtime')\n}\n```\n\nYou can modify body parser setting when initial kox instance:\n\n```js\nconst app = kox({bodyParser: {...}})\n```\n\n### Controller\nKox add two controller related api to koa instance:  \n- `app.controller`\n- `app.loadCtrls`\n\n\n\n#### app.controller\nThis api is used to add an controller.\n\n```js\nconst fooController = {name: 'foo', ...}\n// this operation add controller to app._controllers, we will using these controllers in api definitions.\napp.controller(fooController)\n```\n\n#### app.loadCtrls\nThis api is used to add multiple controllers. I usually use it with `require-dir` module. You can see code in example.\n\n```js\nconst requireDir = require('require-dir')\nconst controllers = require('../controllers')\napp.loadCtrls(controllers)\n```\n\n#### Controller Class\n`app.controller` and `app.loadCtrls` are all used to create `Controller`, and most design of\n`Controller` are inspired by [sundae](https://github.com/sailxjx/sundae) which based on express. But I make action to be more functional, and handle the context as an argument in action. And I prefer put all dependencies in context, rather then require them in the begin of a code file. I think that will make action easy to test in real project.\n\n- Controller#mixin  \n`mixin` will add actions to `this._actions` of controlller. And actions can be invoked as api handler or used to be a hook  \n\n  ```js\n  const mixins = requireDir('../mixins')\n  ctrl.mixin(minins)\n  ```  \n- Controller#action  \n`action` will add an action to `this._actions`  \n  \n  ```js\n  ctrl.action('action1', function(ctx) {...})\n  ```  \n- Controller#before  \n`before` will set an action as pre hook of other action, and it take options to indicate actions to hook  \n\n  ```js  \n  // this will hook `hello` action before `foo` and `bar`\n  ctrl.before('hello', {only: 'foo bar'})\n  // this operation will return an generator combine hello and foo\n  ctrl.invoke('foo') \n  ```\n  \n- Controller#after  \nThe same as `before`, but add post hook to actions  \n  \n  ```js\n  // this operation will add post hook to every actions except action named married\n  ctrl.after('bye', {except: 'married'})\n  \n  ```\n  \n- Controller#invoke  \nWill return a generator, used in `koa-router` module.  \n  \n  ```js\n  ctrl.invoke('hello')\n  ```\n\n### Swagger API\nI used to write business code and document of code separately. I think that way to write code cant make me more productive. I want to Document can decribe code and code can be document. And Swagger have done this. I found hapi-swagger is really awesome project to do this. But the way to write code in hapi is not my tea, so i rebuild `kox`\n\n#### api describe  \n```js\n{\n\tmethod: 'get',\n\tpath: '/hello',\n\thandler: 'controller.action' // or you can write an function directly\n\ttags: ['Hello'],\n\tsummary: 'say hello',\n\tdescription: 'this api will return hello world',\n\t// validate definition is the same as hapi, using joi as validator\n\tvalidate: {\n\t\tpayload: Joi.object({...}),\n\t\tparams: ...,\n\t\tquery: ...,\n\t\theaders: ...\n\t},\n\tresponses: {\n\t\t200: {\n\t\t\tdescription: 'success',\n\t\t\tschema: Joi.object({}) // we validate response by schema\n\t\t}\n\t}\n}\n```\n\n## LICENSE\n\nMIT\n\n## TODO\n* [x] Generate Swagger Json Route\n* [x] Auto route api\n* [ ] Full Example\n* [ ] Full documents\n* [ ] Rendering API\n\n[npm-image]: https://img.shields.io/npm/v/kox.svg?style=flat-square\n[npm-url]: https://www.npmjs.com/package/kox\n[travis-image]: https://img.shields.io/travis/sunfuze/kox/master.svg?style=flat-square\n[travis-url]: https://travis-ci.org/sunfuze/kox\n","maintainers":[{"name":"sunfuze","email":"sunfuze.1989@gmail.com"}],"time":{"modified":"2022-06-19T09:51:04.201Z","created":"2016-10-17T16:45:37.077Z","0.1.0":"2016-10-17T16:45:37.077Z","0.1.1":"2016-10-18T02:07:17.396Z","0.1.2":"2016-10-18T02:48:12.676Z","0.1.3":"2016-10-18T04:23:06.707Z","0.1.4":"2016-10-18T06:36:28.896Z","0.1.5":"2016-10-18T07:35:03.718Z","0.1.6":"2016-10-18T07:40:45.535Z","0.1.7":"2016-10-26T06:44:18.011Z","0.1.8":"2016-10-28T11:00:44.038Z","0.1.9":"2016-11-02T02:20:06.413Z","0.1.10":"2016-11-02T02:25:21.383Z","0.2.1":"2016-11-02T06:38:03.488Z","0.2.2":"2016-11-02T06:53:40.644Z","0.2.3":"2016-11-02T08:36:44.245Z","0.2.5":"2016-11-03T08:55:41.169Z","0.2.6":"2016-11-03T09:29:58.702Z","0.2.7":"2016-11-03T09:32:12.728Z","0.2.8":"2016-11-09T03:25:10.190Z","0.2.9":"2016-11-09T03:48:40.214Z","0.2.10":"2016-11-09T04:35:53.492Z","0.2.11":"2016-11-09T07:02:48.221Z","0.2.12":"2016-11-11T10:41:45.564Z","0.2.13":"2016-11-16T08:40:30.431Z","0.2.14":"2016-11-22T09:20:18.791Z","0.2.15":"2016-11-24T10:45:09.230Z","0.2.16":"2017-08-31T06:34:30.056Z"},"homepage":"https://github.com/sunfuze/kox#readme","keywords":["koa","api","swagger"],"repository":{"type":"git","url":"git+https://github.com/sunfuze/kox.git"},"author":{"name":"sunfuze","email":"sunfuze.1989@gmail.com"},"bugs":{"url":"https://github.com/sunfuze/kox/issues"},"license":"MIT","readmeFilename":"README.md"}