{"_id":"chairo","_rev":"54-d368b709d7a7e118d52b780592f0439b","name":"chairo","description":"Seneca micro-services plugin for hapi","dist-tags":{"latest":"4.0.0"},"versions":{"0.0.1":{"name":"chairo","description":"Seneca micro-services plugin for hapi","version":"0.0.1","repository":{"type":"git","url":"git://github.com/hapijs/chairo.git"},"main":"lib/index.js","keywords":["hapi","plugin","microservices","seneca"],"engines":{"node":">=0.10.38"},"dependencies":{"boom":"2.x.x","hoek":"^2.14.x","items":"1.x.x","joi":"6.x.x","jsonic":"0.1.x","seneca":"0.6.x"},"peerDependencies":{"hapi":"^8.5.x"},"devDependencies":{"code":"1.x.x","handlebars":"2.x.x","hapi":"8.x.x","lab":"5.x.x"},"scripts":{"test":"node node_modules/lab/bin/lab -a code -t 100 -L","test-cov-html":"node node_modules/lab/bin/lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"1993031c3230fc531f38699f3c511a722dc8da2b","bugs":{"url":"https://github.com/hapijs/chairo/issues"},"homepage":"https://github.com/hapijs/chairo#readme","_id":"chairo@0.0.1","_shasum":"058432835fb48bd70b89d848c4b75e0563e469c4","_from":".","_npmVersion":"2.10.0","_nodeVersion":"0.10.38","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"058432835fb48bd70b89d848c4b75e0563e469c4","tarball":"https://registry.npmjs.org/chairo/-/chairo-0.0.1.tgz","integrity":"sha512-+c53a4KN5Yb12eLKVW4FG014PxzyGkh+GPcWx5zhb1rUbPcLha1mAPeAEWBhrOJmfI3hryVBrzKpbRQ5IANdng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1rZCCZh+TE9bpgafuMEIVtgEYf89Z7Z+RO5BQqxuU8QIhAKktbUqcczxIIdJBpjQbvYFB5+6Lgg9LcpfjuZbBbajW"}]},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"directories":{},"deprecated":"This module is no longer maintained."},"0.1.0":{"name":"chairo","description":"Seneca micro-services plugin for hapi","version":"0.1.0","repository":{"type":"git","url":"git://github.com/hapijs/chairo.git"},"main":"lib/index.js","keywords":["hapi","plugin","microservices","seneca"],"engines":{"node":">=0.10.38"},"dependencies":{"boom":"2.x.x","hoek":"^2.14.x","items":"1.x.x","joi":"6.x.x","jsonic":"0.1.x","seneca":"0.6.x","vision":"3.x.x"},"peerDependencies":{"hapi":">=8.5.0"},"devDependencies":{"code":"1.x.x","handlebars":"4.x.x","hapi":">=8.5.0","lab":"5.x.x"},"scripts":{"test":"node node_modules/lab/bin/lab -a code -t 100 -L","test-cov-html":"node node_modules/lab/bin/lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"2bed9d3f5488b167580266605455ad2c87a83f8f","bugs":{"url":"https://github.com/hapijs/chairo/issues"},"homepage":"https://github.com/hapijs/chairo#readme","_id":"chairo@0.1.0","_shasum":"fd7e0b3db09606d668e0f61bcb3f171260ad10dd","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"wyatt","email":"wpreul@gmail.com"},"dist":{"shasum":"fd7e0b3db09606d668e0f61bcb3f171260ad10dd","tarball":"https://registry.npmjs.org/chairo/-/chairo-0.1.0.tgz","integrity":"sha512-/lKNoR6C2xoQu4EL87i5BEUgWSXYzR/TaZ9p8pxJPwTiQ7ZcJS3zCcOSbe70Sgn6TmTxV8Br5aK4kWbfP4NZbw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhJxZMhq2lN+6tDIHUiKOk9o8s406EY4HGDvHj0CN9zwIhAIyORuvt8ON5ZB0HooQmRY7Pkevhz3ludGayPEArt/DJ"}]},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"},{"name":"wyatt","email":"wpreul@gmail.com"}],"directories":{},"deprecated":"This module is no longer maintained."},"0.2.0":{"name":"chairo","description":"Seneca micro-services plugin for hapi","version":"0.2.0","repository":{"type":"git","url":"git://github.com/hapijs/chairo.git"},"main":"lib/index.js","keywords":["hapi","plugin","microservices","seneca"],"engines":{"node":">=0.10.38"},"dependencies":{"boom":"2.x.x","hoek":"^2.14.x","items":"1.x.x","joi":"6.x.x","jsonic":"0.1.x","seneca":"0.7.x","vision":"3.x.x"},"peerDependencies":{"hapi":">=8.5.0"},"devDependencies":{"code":"1.x.x","handlebars":"4.x.x","hapi":">=8.5.0","lab":"6.x.x"},"scripts":{"test":"node node_modules/lab/bin/lab -a code -t 100 -L","test-cov-html":"node node_modules/lab/bin/lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"3f29cda216208561bb2d0c5bc17e44a6d35b306c","bugs":{"url":"https://github.com/hapijs/chairo/issues"},"homepage":"https://github.com/hapijs/chairo#readme","_id":"chairo@0.2.0","_shasum":"e7070b087027fe46983364e90ec38cf66e6b39dc","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"wyatt","email":"wpreul@gmail.com"},"dist":{"shasum":"e7070b087027fe46983364e90ec38cf66e6b39dc","tarball":"https://registry.npmjs.org/chairo/-/chairo-0.2.0.tgz","integrity":"sha512-veD86K8MbjqRkZsjmSSHmh8+hX1/ltPqfifURfhE25KqOmDNsX5b+FsHnX51zY3JDggyLvm6it46TtdNXToLuQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5m/wcyIgUEp3it7mZV4KArCELZRn84L5Kb5fibBZCzAIhAMZ9jyDuTQIi19eh99in79J8V1JAOxIzXuWN35n41/n+"}]},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"},{"name":"wyatt","email":"wpreul@gmail.com"}],"directories":{},"deprecated":"This module is no longer maintained."},"1.0.0":{"name":"chairo","description":"Seneca micro-services plugin for hapi","version":"1.0.0","repository":{"type":"git","url":"git://github.com/hapijs/chairo.git"},"main":"lib/index.js","keywords":["hapi","plugin","microservices","seneca"],"engines":{"node":">=4.0.0"},"dependencies":{"boom":"2.x.x","hoek":"2.x.x","items":"1.x.x","joi":"6.x.x","jsonic":"0.2.x","seneca":"0.x.x","vision":"3.x.x"},"peerDependencies":{"hapi":"11.x.x"},"devDependencies":{"code":"2.x.x","handlebars":"4.x.x","hapi":"11.x.x","lab":"7.x.x"},"scripts":{"test":"node node_modules/lab/bin/lab -a code -t 100 -L","test-cov-html":"node node_modules/lab/bin/lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"0daeda32840fc442d2ca79fdc32e4cd4d9f7d4b8","bugs":{"url":"https://github.com/hapijs/chairo/issues"},"homepage":"https://github.com/hapijs/chairo#readme","_id":"chairo@1.0.0","_shasum":"390d1000790c67ff378147e63ad798af3b8c58a7","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"wyatt","email":"wpreul@gmail.com"},"dist":{"shasum":"390d1000790c67ff378147e63ad798af3b8c58a7","tarball":"https://registry.npmjs.org/chairo/-/chairo-1.0.0.tgz","integrity":"sha512-a1+hkW9V4D62AzfWr3mJ495as1QO1zUh0lY/kHvSErMr3FgqCVvfV8LuR2GY1FWUPfsG5dyO+BSXfRpGQV4AaA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFq32BdN3p8BfDtQlHjLoT2gRFgUADGgKcBLhW2EZPt/AiEA/fb6WBOt6C/7gjDU9y/ZnjRWqMv1ROOjO61ZAL3//Ec="}]},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"},{"name":"wyatt","email":"wpreul@gmail.com"}],"directories":{},"deprecated":"This module is no longer maintained."},"1.0.1":{"name":"chairo","description":"Seneca micro-services plugin for hapi","version":"1.0.1","repository":{"type":"git","url":"git://github.com/hapijs/chairo.git"},"main":"lib/index.js","keywords":["hapi","plugin","microservices","seneca"],"engines":{"node":">=4.0.0"},"dependencies":{"boom":"2.x.x","hoek":"2.x.x","items":"1.x.x","joi":"6.x.x","jsonic":"0.2.x","seneca":"0.x.x","vision":"3.x.x"},"peerDependencies":{"hapi":"11.x.x"},"devDependencies":{"code":"2.x.x","handlebars":"4.x.x","hapi":"11.x.x","lab":"7.x.x"},"scripts":{"test":"node node_modules/lab/bin/lab -a code -t 100 -L","test-cov-html":"node node_modules/lab/bin/lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"2778cafd5074ba6622da02460d2e6f7d7db6f444","bugs":{"url":"https://github.com/hapijs/chairo/issues"},"homepage":"https://github.com/hapijs/chairo#readme","_id":"chairo@1.0.1","_shasum":"513a009d034edb30c2beb01e7fb8c120d787b848","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"wyatt","email":"wpreul@gmail.com"},"dist":{"shasum":"513a009d034edb30c2beb01e7fb8c120d787b848","tarball":"https://registry.npmjs.org/chairo/-/chairo-1.0.1.tgz","integrity":"sha512-ki35G5qT+PTQEPwqkw5twej2VAdw7f9sPqXQytfq4Qzu6Nw8oFZMJv9SZMmqrStLO6vj153ZgnmvswVGF6+UEw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHwYu6PrIxk+iDk5t/NMzUv/PyFgaN5a11xVF6GJTjbpAiEApZ0PNM1fKMSIaY+scc4ixVs4sbcT+qupikvDOAE9uXY="}]},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"},{"name":"wyatt","email":"wpreul@gmail.com"}],"directories":{},"deprecated":"This module is no longer maintained."},"1.1.0":{"name":"chairo","description":"Seneca micro-services plugin for hapi","version":"1.1.0","repository":{"type":"git","url":"git://github.com/hapijs/chairo.git"},"main":"lib/index.js","keywords":["hapi","plugin","microservices","seneca"],"engines":{"node":">=4.0.0"},"dependencies":{"boom":"2.x.x","hoek":"2.x.x","items":"1.x.x","joi":"6.x.x","jsonic":"0.2.x","seneca":"0.x.x","vision":"3.x.x"},"peerDependencies":{"hapi":"11.x.x"},"devDependencies":{"code":"2.x.x","handlebars":"4.x.x","hapi":"11.x.x","lab":"7.x.x"},"scripts":{"test":"node node_modules/lab/bin/lab -a code -t 100 -L","test-cov-html":"node node_modules/lab/bin/lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"6486db24d1e725ed53e24ce393028d1e1a43b6cb","bugs":{"url":"https://github.com/hapijs/chairo/issues"},"homepage":"https://github.com/hapijs/chairo#readme","_id":"chairo@1.1.0","_shasum":"952afe048aec0fb9e521f41900b48aa9fa66832b","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"wyatt","email":"wpreul@gmail.com"},"dist":{"shasum":"952afe048aec0fb9e521f41900b48aa9fa66832b","tarball":"https://registry.npmjs.org/chairo/-/chairo-1.1.0.tgz","integrity":"sha512-algZCTCXlHXTkdD8+gnxLVobXIBbHsb3jAyp7+p9EeUUkyuMnzd7x/JqNH3V+2aOeOSOGa8yuytf+nGX2OCu2w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC5y21Z56beYmixVNXMNQmBVMcUJZvFLn03GC3YlPRxvAiEAuhJ/rgWaC21JoMVXaoETnPzd5XPpp6IC3ylsdfkX1YI="}]},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"},{"name":"wyatt","email":"wpreul@gmail.com"}],"directories":{},"deprecated":"This module is no longer maintained."},"1.2.0":{"name":"chairo","description":"Seneca micro-services plugin for hapi","version":"1.2.0","repository":{"type":"git","url":"git://github.com/hapijs/chairo.git"},"main":"lib/index.js","keywords":["hapi","plugin","microservices","seneca"],"engines":{"node":">=4.0.0"},"dependencies":{"boom":"2.x.x","hoek":"2.x.x","items":"1.x.x","joi":"6.x.x","jsonic":"0.2.x","seneca":"1.x.x","vision":"3.x.x"},"peerDependencies":{"hapi":">=11.x.x"},"devDependencies":{"code":"2.x.x","coveralls":"^2.11.4","handlebars":"4.x.x","hapi":"12.x.x","lab":"8.x.x"},"scripts":{"test":"node node_modules/lab/bin/lab -a code -t 100 -L","test-cov-html":"node node_modules/lab/bin/lab -a code -r html -o coverage.html","cover":"lab -s -r lcov | coveralls"},"license":"BSD-3-Clause","gitHead":"641ab194bf2646d7dcc70ed8fa6051df41ee0a5b","bugs":{"url":"https://github.com/hapijs/chairo/issues"},"homepage":"https://github.com/hapijs/chairo#readme","_id":"chairo@1.2.0","_shasum":"aaf06caba73634d76030db19806edc3e58023c15","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"wyatt","email":"wpreul@gmail.com"},"dist":{"shasum":"aaf06caba73634d76030db19806edc3e58023c15","tarball":"https://registry.npmjs.org/chairo/-/chairo-1.2.0.tgz","integrity":"sha512-0c4foCqv6LQ2BjrpNOIwvaciYjqpj5tDz9zuYhSqtEDMsjk2Mb/wD1nMKPgzIu6CU0HGtJ9tVRL2dm8LoLDUZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCO6MgeA0b9h/IE5czT/Ca0WELS0JWtneo3xRe65UQ+MAIgdhqnhQaWI//hS4ls5XEXMGbdASrO4NWHAs3/9I+i+YM="}]},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"},{"name":"wyatt","email":"wpreul@gmail.com"}],"directories":{},"deprecated":"This module is no longer maintained."},"1.3.0":{"name":"chairo","description":"Seneca micro-services plugin for hapi","version":"1.3.0","repository":{"type":"git","url":"git://github.com/hapijs/chairo.git"},"main":"lib/index.js","keywords":["hapi","plugin","microservices","seneca"],"engines":{"node":">=4.0.0"},"dependencies":{"boom":"2.x.x","hoek":"2.x.x","items":"1.x.x","joi":"6.x.x","jsonic":"0.2.x","seneca":"1.x.x","seneca-web":"0.5.x","vision":"3.x.x"},"peerDependencies":{"hapi":">=11.x.x"},"devDependencies":{"code":"2.x.x","coveralls":"^2.11.4","handlebars":"4.x.x","hapi":"12.x.x","lab":"8.x.x"},"scripts":{"test":"node node_modules/lab/bin/lab -a code -t 100 -L","test-cov-html":"node node_modules/lab/bin/lab -a code -r html -o coverage.html","cover":"lab -s -r lcov | coveralls"},"license":"BSD-3-Clause","gitHead":"260b746108595cfe80136ccee26d9cdcc2c50788","bugs":{"url":"https://github.com/hapijs/chairo/issues"},"homepage":"https://github.com/hapijs/chairo#readme","_id":"chairo@1.3.0","_shasum":"e27d7529298786f0ff59244b4697efb8c93ceeb2","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.2.0","_npmUser":{"name":"wyatt","email":"wpreul@gmail.com"},"dist":{"shasum":"e27d7529298786f0ff59244b4697efb8c93ceeb2","tarball":"https://registry.npmjs.org/chairo/-/chairo-1.3.0.tgz","integrity":"sha512-K3UK6Y9Xa1+wJ4AZajCdINNNcVrMRsPkOO0vRYYx9aJMuUyRT9HsqHE+FpRAZ2CLz+yJRlm9vF9IKw7ebKu7+w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHPmX+Brw8OElbG+l5qvNpR173TZNfJPLNeYr0pm6nFgAiBffWPZHXTG1KQ7Ynn4XOCm5QeL3qCZ16U9nX3w0I3c/Q=="}]},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"},{"name":"wyatt","email":"wpreul@gmail.com"}],"directories":{},"deprecated":"This module is no longer maintained."},"2.0.0":{"name":"chairo","description":"Seneca micro-services plugin for hapi","version":"2.0.0","repository":{"type":"git","url":"git://github.com/hapijs/chairo.git"},"main":"lib/index.js","keywords":["hapi","plugin","microservices","seneca"],"engines":{"node":">=4.0.0"},"dependencies":{"boom":"3.1.x","hoek":"3.0.x","items":"2.0.x","joi":"7.2.x","jsonic":"0.2.x","seneca":"1.1.x","vision":"4.0.x"},"peerDependencies":{"hapi":">=11.x.x"},"devDependencies":{"code":"2.1.x","coveralls":"2.11.x","handlebars":"4.0.x","hapi":"13.0.x","lab":"8.2.x"},"scripts":{"test":"node node_modules/lab/bin/lab -a code -t 100 -L","test-cov-html":"node node_modules/lab/bin/lab -a code -r html -o coverage.html","cover":"lab -s -r lcov | coveralls"},"license":"BSD-3-Clause","gitHead":"3deaf67db380d0576719e2d79a1261139454206a","bugs":{"url":"https://github.com/hapijs/chairo/issues"},"homepage":"https://github.com/hapijs/chairo#readme","_id":"chairo@2.0.0","_shasum":"bfef28bf1b0c7235b6a1b31b68d366de5ed190a9","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.4.1","_npmUser":{"name":"wyatt","email":"wpreul@gmail.com"},"dist":{"shasum":"bfef28bf1b0c7235b6a1b31b68d366de5ed190a9","tarball":"https://registry.npmjs.org/chairo/-/chairo-2.0.0.tgz","integrity":"sha512-vkGffurufBUSH/PKek3r693nLlpYRn6gttuzKRNkm3BlNkjfbSHkTz1qfbRJcTqcERCgsOBNAlzwmVutalzTuw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDMwx6S63wHeSvwS7F4yEYaoORXTvP7i2lciGab7IehxAIgbAkJMEYvi3F5DqTHXMWoPu8V2q+7q5baK88gXRbHBuc="}]},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"},{"name":"wyatt","email":"wpreul@gmail.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/chairo-2.0.0.tgz_1454697500967_0.39070121035911143"},"directories":{},"deprecated":"This module is no longer maintained."},"2.0.1":{"name":"chairo","description":"Seneca micro-services plugin for hapi","version":"2.0.1","repository":{"type":"git","url":"git://github.com/hapijs/chairo.git"},"main":"lib/index.js","keywords":["hapi","plugin","microservices","seneca"],"engines":{"node":">=4.0.0"},"dependencies":{"boom":"3.1.x","hoek":"3.0.x","items":"2.0.x","joi":"8.0.x","jsonic":"0.2.x","seneca":"1.2.x"},"peerDependencies":{"hapi":">=11.x.x"},"devDependencies":{"code":"2.1.x","coveralls":"2.11.x","handlebars":"4.0.x","hapi":"13.0.x","lab":"10.0.x","vision":"4.0.x"},"scripts":{"test":"node node_modules/lab/bin/lab -a code -t 100 -L","test-cov-html":"node node_modules/lab/bin/lab -a code -r html -o coverage.html","cover":"lab -s -r lcov | coveralls"},"license":"BSD-3-Clause","gitHead":"42310fc3f1dd0da0baaef96f7ea4dee7e7110559","bugs":{"url":"https://github.com/hapijs/chairo/issues"},"homepage":"https://github.com/hapijs/chairo#readme","_id":"chairo@2.0.1","_shasum":"e398dc8e88f79a42d0e9953d2f312a1584e4ef70","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.0","_npmUser":{"name":"wyatt","email":"wpreul@gmail.com"},"dist":{"shasum":"e398dc8e88f79a42d0e9953d2f312a1584e4ef70","tarball":"https://registry.npmjs.org/chairo/-/chairo-2.0.1.tgz","integrity":"sha512-xvKNE6BzrJycPE5x/zUpfyBthsBoq8uXRZ6ylckexhNToOHF3iVgO0oBQE1Fn+4K0g6lQAPJ3gLqDHCwqlVigQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBdlwW8+9TtEjJCPP98KkwActeLxUgnMcrJJmyouDzK9AiEAjlU/B8XIX0Hd6RC6YoXauqr1D8oasYhz86IBNhbc6IA="}]},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"},{"name":"wyatt","email":"wpreul@gmail.com"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/chairo-2.0.1.tgz_1456525137730_0.0931841239798814"},"directories":{},"deprecated":"This module is no longer maintained."},"2.1.0":{"name":"chairo","description":"Seneca micro-services plugin for hapi","version":"2.1.0","repository":{"type":"git","url":"git://github.com/hapijs/chairo.git"},"main":"lib/index.js","keywords":["hapi","plugin","microservices","seneca"],"engines":{"node":">=4.0.0"},"dependencies":{"boom":"3.x.x","hoek":"3.x.x","items":"2.x.x","joi":"8.x.x","jsonic":"0.2.x","seneca":"1.x.x"},"peerDependencies":{"hapi":">=11.x.x"},"devDependencies":{"code":"2.x.x","coveralls":"2.x.x","handlebars":"4.x.x","hapi":"13.x.x","lab":"10.x.x","vision":"4.x.x"},"scripts":{"test":"node node_modules/lab/bin/lab -a code -t 100 -L","test-cov-html":"node node_modules/lab/bin/lab -a code -r html -o coverage.html","cover":"lab -s -r lcov | coveralls"},"license":"BSD-3-Clause","gitHead":"aa0ec2e770276798798153f8864840cabccfd921","bugs":{"url":"https://github.com/hapijs/chairo/issues"},"homepage":"https://github.com/hapijs/chairo#readme","_id":"chairo@2.1.0","_shasum":"7bbc08ee84274062009473b432b316188efb2c34","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.0","_npmUser":{"name":"wyatt","email":"wpreul@gmail.com"},"dist":{"shasum":"7bbc08ee84274062009473b432b316188efb2c34","tarball":"https://registry.npmjs.org/chairo/-/chairo-2.1.0.tgz","integrity":"sha512-i1l/SLNvPVVTWDkE0jK68tOOa0UZVY9P2RzPRCLYpOV8GP8HaQEPlO/iJxlu2qTidbJ4DLPCMtUn0d9WduFxkw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6mK98EtzfUkuTYgz+Ni1n4h+4YRxzKqzqE590o8C+zgIgEkOOoI7SIblvXQuWmZEl7D05xJ1JlU2x1u42MLqRIqY="}]},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"},{"name":"wyatt","email":"wpreul@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/chairo-2.1.0.tgz_1457726004924_0.5533667346462607"},"directories":{},"deprecated":"This module is no longer maintained."},"2.2.0":{"name":"chairo","description":"Seneca micro-services plugin for hapi","version":"2.2.0","repository":{"type":"git","url":"git://github.com/hapijs/chairo.git"},"main":"lib/index.js","keywords":["hapi","plugin","microservices","seneca"],"engines":{"node":">=4.0.0"},"dependencies":{"boom":"3.x.x","hoek":"3.x.x","items":"2.x.x","joi":"8.x.x","jsonic":"0.2.x","seneca":"2.x.x"},"peerDependencies":{"hapi":">=11.x.x"},"devDependencies":{"code":"2.x.x","coveralls":"2.x.x","handlebars":"4.x.x","hapi":"13.x.x","lab":"10.x.x","vision":"4.x.x"},"scripts":{"test":"node node_modules/lab/bin/lab -a code -t 100 -L","test-cov-html":"node node_modules/lab/bin/lab -a code -r html -o coverage.html","cover":"lab -s -r lcov | coveralls"},"license":"BSD-3-Clause","gitHead":"d9b505d26c0cdeb08dfbcf224b7046b6ad30cfe9","bugs":{"url":"https://github.com/hapijs/chairo/issues"},"homepage":"https://github.com/hapijs/chairo#readme","_id":"chairo@2.2.0","_shasum":"74b943c7126f3fcbb74f2543dcaa4c2a0ab2b8ed","_from":".","_npmVersion":"3.8.5","_nodeVersion":"5.9.1","_npmUser":{"name":"wyatt","email":"wpreul@gmail.com"},"dist":{"shasum":"74b943c7126f3fcbb74f2543dcaa4c2a0ab2b8ed","tarball":"https://registry.npmjs.org/chairo/-/chairo-2.2.0.tgz","integrity":"sha512-KQMO6z9u2BNb2rORohIl9MzeVzQUlvFT2kZErjNftyuxf+6uzHzPV7282G8ClQK+JEd1KWZpcUUfiiYbGa2KTg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCc0M47kI2fH/glL/jgw/vRNhgQ+rTdQtiSTXJiYK6qyAIgX4WXF2kA4A1TB2qWCsCF34q3KMIRSR/O/2Hjmv11zAw="}]},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"},{"name":"wyatt","email":"wpreul@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/chairo-2.2.0.tgz_1460049478528_0.8971214983612299"},"directories":{},"deprecated":"This module is no longer maintained."},"2.2.1":{"name":"chairo","description":"Seneca micro-services plugin for hapi","version":"2.2.1","repository":{"type":"git","url":"git://github.com/hapijs/chairo.git"},"main":"lib/index.js","keywords":["hapi","plugin","microservices","seneca"],"engines":{"node":">=4.0.0"},"dependencies":{"boom":"3.x.x","hoek":"4.x.x","items":"2.x.x","joi":"8.x.x","jsonic":"0.2.x","seneca":"2.x.x"},"peerDependencies":{"hapi":">=11.x.x"},"devDependencies":{"code":"3.x.x","coveralls":"2.x.x","handlebars":"4.x.x","hapi":"13.x.x","lab":"10.x.x","vision":"4.x.x"},"scripts":{"test":"node node_modules/lab/bin/lab -a code -t 100 -L","test-cov-html":"node node_modules/lab/bin/lab -a code -r html -o coverage.html","cover":"lab -s -r lcov | coveralls"},"license":"BSD-3-Clause","gitHead":"93ee25fa1c605c72721d890245db92d45214d4b0","bugs":{"url":"https://github.com/hapijs/chairo/issues"},"homepage":"https://github.com/hapijs/chairo#readme","_id":"chairo@2.2.1","_shasum":"e04db2862933abf5d8ead5be2535f68c17f548a0","_from":".","_npmVersion":"3.8.9","_nodeVersion":"6.2.0","_npmUser":{"name":"wyatt","email":"wpreul@gmail.com"},"dist":{"shasum":"e04db2862933abf5d8ead5be2535f68c17f548a0","tarball":"https://registry.npmjs.org/chairo/-/chairo-2.2.1.tgz","integrity":"sha512-5b8M4xlVVvbwKOwz74TSGirBTjRon7XZmTsl3+ph4UHSvCIS4LriWNERXH1t1B0ebTVvEuq0u71Ioa11llHYrA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9sIRV2G292fYjYEKRTiSG7WWL6xQEkiWkeq1Q2ucOCAIhAK1mp1BlTizrtdEA4DWVp8NHrxPbKR/+d6j0N0RVO87j"}]},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"},{"name":"wyatt","email":"wpreul@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/chairo-2.2.1.tgz_1463800157375_0.3945539528504014"},"directories":{},"deprecated":"This module is no longer maintained."},"3.0.0":{"name":"chairo","description":"Seneca micro-services plugin for hapi","version":"3.0.0","repository":{"type":"git","url":"git://github.com/hapijs/chairo.git"},"main":"lib/index.js","keywords":["hapi","plugin","microservices","seneca"],"engines":{"node":">=4.0.0"},"dependencies":{"boom":"4.x.x","hoek":"4.x.x","items":"2.x.x","joi":"10.x.x","jsonic":"0.2.x","seneca":"3.x.x"},"peerDependencies":{"hapi":">=11.x.x"},"devDependencies":{"code":"4.x.x","coveralls":"2.x.x","handlebars":"4.x.x","hapi":"15.x.x","lab":"11.x.x","vision":"4.x.x"},"scripts":{"test":"node node_modules/lab/bin/lab -a code -t 100 -L","test-cov-html":"node node_modules/lab/bin/lab -a code -r html -o coverage.html","cover":"lab -s -r lcov | coveralls"},"license":"BSD-3-Clause","gitHead":"df6287e609e96bdcb15f162c51933f2ea54ab176","bugs":{"url":"https://github.com/hapijs/chairo/issues"},"homepage":"https://github.com/hapijs/chairo#readme","_id":"chairo@3.0.0","_shasum":"80cf6c1b9906236d95731100ee198775e05695dd","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"wyatt","email":"wpreul@gmail.com"},"dist":{"shasum":"80cf6c1b9906236d95731100ee198775e05695dd","tarball":"https://registry.npmjs.org/chairo/-/chairo-3.0.0.tgz","integrity":"sha512-+J92KLPZMd3o+0l/pG8UaeVxdohPfRfvXmR8uY4nxgeBxIGbpq+eqM5u6fTtkA5MdClluq3kzqrIh+B5wyH8cw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDq5m9miwZdqAc+isoPLqTy9Ywx/QvGJJVSUHcFLkbKlAiBopz+gpCedLWNraayVReG7x6A2GGfIh6MRM0ocamSS2g=="}]},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"},{"name":"wyatt","email":"wpreul@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/chairo-3.0.0.tgz_1479849678498_0.9968676378484815"},"directories":{},"deprecated":"This module is no longer maintained."},"4.0.0":{"name":"chairo","description":"Seneca micro-services plugin for hapi","version":"4.0.0","repository":{"type":"git","url":"git://github.com/hapijs/chairo.git"},"main":"lib/index.js","keywords":["hapi","plugin","microservices","seneca"],"engines":{"node":">=4.0.0"},"dependencies":{"boom":"7.1.x","bounce":"1.2.x","hoek":"5.0.x","items":"2.1.x","joi":"13.1.x","jsonic":"0.3.x","seneca":"3.x.x","seneca-as-promised":"2.0.x"},"peerDependencies":{"hapi":">=11.x.x"},"devDependencies":{"code":"5.x.x","coveralls":"3.x.x","handlebars":"4.x.x","hapi":"17.x.x","lab":"15.x.x","sinon":"4.3.x","vision":"5.x.x"},"scripts":{"test":"node node_modules/lab/bin/lab -a code -t 100 -L","test-cov-html":"node node_modules/lab/bin/lab -a code -r html -o coverage.html","cover":"lab -s -r lcov | coveralls"},"license":"BSD-3-Clause","gitHead":"9c966a9d99018d2048b947474311d87c16b9089e","bugs":{"url":"https://github.com/hapijs/chairo/issues"},"homepage":"https://github.com/hapijs/chairo#readme","_id":"chairo@4.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"wyatt","email":"wpreul@gmail.com"},"dist":{"integrity":"sha512-b3rPcZfOUw2Zal8Gskz7X++Nm0iae9KWtDB04jD6CreI/V0ryYzM6ZdOcaVTOV08R5Kse4NWWnzLoMgQ9B+TvA==","shasum":"60caa33f849e6a49a9db277bb1659870c65986db","tarball":"https://registry.npmjs.org/chairo/-/chairo-4.0.0.tgz","fileCount":9,"unpackedSize":41781,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvQV04ddHgzuSfAvq9H9kZZkvir1Xi2RjUrgAk0qukqgIgJ13PYYzo1Te6E23bOxTYrLjz0AGEb+fhMCJTAB1SrRQ="}]},"maintainers":[{"email":"eran@hammer.io","name":"hueniverse"},{"email":"nicolas@morel.io","name":"marsup"},{"email":"quitlahok@gmail.com","name":"nlf"},{"email":"wpreul@gmail.com","name":"wyatt"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/chairo_4.0.0_1518726170742_0.37747397300814467"},"_hasShrinkwrap":false,"deprecated":"This module is no longer maintained."}},"readme":"# chairo\n\n[![npm version][npm-badge]][npm-url]\n[![Build Status][travis-badge]][travis-url]\n\n**chairo** (\"happy\" in ancient Greek: χαίρω) is a [**Seneca**](http://senecajs.org/) micro-services plugin\nfor [hapi](https://github.com/hapijs/hapi). The plugin integrates the **Seneca** functionality into\n**hapi** and provide tools to map its actions to server methods and views for easy access.\n\nLead Maintainer - [Wyatt Preul](https://github.com/geek)\n\n### Usage\n\n#### Plugin Registration\n\n**chairo** is registered with a **hapi** server using the `server.register()` method. Once\nregistered it decorates the `server` object with a reference to the `seneca` object initialized\nusing the provided plugin options. Default plugin options:\n\n* `seneca`: `false`\n* `log`: `silent`\n* `actcache`:\n  * `active`: `false`\n\nYou can use an existing instance to `seneca` and let `chairo` do the decorations\nfor your server. When setting the `seneca` option on the configuration, please\nnote that the other settings won't be used.\n\n```js\nconst Chairo = require('chairo');\nconst Hapi = require('hapi');\n\nconst server = new Hapi.Server();\n\n(async () => {\n  // Register plugin\n\n  try {\n    await server.register({ register: Chairo });\n\n    // Add a Seneca action\n\n    let id = 0;\n    server.seneca.addAsync({ generate: 'id' }, async message => {\n      return { id: ++id };\n    });\n\n    // Invoke a Seneca action\n\n    const result = await server.seneca.actAsync({ generate: 'id' });\n\n    // result: { id: 1 }\n\n    // Invoke a Seneca action without expecting an answer\n\n    server.seneca.act({ generate: 'id' });\n  } catch (err) {}\n})();\n```\n\nIn addition, the **hapi** request object is decorated with a reference to the `seneca` object for\neasy access:\n\n```js\nserver.route({\n  method: 'POST',\n  path: '/id',\n  handler: function(request) {\n    // Invoke a Seneca action using the request decoration\n\n    return request.seneca.actAsync({ generate: 'id' });\n  }\n});\n```\n\n#### `server.action(name, pattern, [options])`\n\nMaps a **Seneca** action pattern to a **hapi**\n[server method](https://github.com/hapijs/hapi/blob/master/API.md#servermethodname-method-options)\nwhere:\n\n* `name` - the server method name (same as the name used in `server.method()`).\n* `pattern` - the **Seneca** action pattern (e.g. `'generate:id'` or `{ generate: 'id' }`) to map.\n* `options` - optional settings options where:\n  * `cache` - method caching options (same as the name used in `server.method()`).\n  * `generateKey` - method generating custom cache key (same as the name used in `server.method()`).\n\n```js\n'use strict';\n\nconst Chairo = require('chairo');\nconst Hapi = require('hapi');\n\nconst server = new Hapi.Server();\n(async () => {\n  try {\n    await server.register(Chairo);\n\n    // Set up a Seneca action\n\n    let id = 0;\n    server.seneca.addAsync({ generate: 'id' }, async message => {\n      return { id: ++id };\n    });\n\n    server.seneca.addAsync({ calc: 'average' }, async message => {\n      return {\n        average:\n          (message.samples.dataset.values[0] +\n            message.samples.dataset.values[0]) /\n          2\n      };\n    });\n\n    // Map action to a hapi server method\n\n    server.action('generate', 'generate:id', {\n      cache: { expiresIn: 1000, generateTimeout: 3000 }\n    });\n\n    // Map action to a hapi server method with custom generateKey method\n\n    server.action('average', 'calc:average', {\n      cache: { expiresIn: 1000, generateTimeout: 3000 },\n      generateKey: function(message) {\n        return (\n          'average-' +\n          message.samples.dataset.values[0] +\n          ':' +\n          message.samples.dataset.values[1]\n        );\n      }\n    });\n\n    // Start hapi server (starts cache)\n\n    await server.start();\n\n    // Invoke server method\n\n    const result1 = await server.methods.generate();\n    // Invoke the same server method\n\n    const result2 = await server.methods.generate();\n    // result1 === result2 (cached)\n\n    const avg1 = await server.methods.average({\n      samples: { dataset: { values: [2, 3] } }\n    });\n\n    const avg2 = await server.methods.average({\n      samples: { dataset: { values: [2, 3] } }\n    });\n    // avg1 == avg2 (cached)\n  } catch (err) {}\n})();\n```\n\n#### `h.act(pattern)`\n\nSends back a handler response using the result of a **Seneca** action where:\n\n* `pattern` - the **Seneca** action called to generate the response.\n\n```js\nconst Chairo = require('chairo');\nconst Hapi = require('hapi');\n\nconst server = new Hapi.Server();\n\n(async () => {\n  try {\n    await server.register(Chairo);\n    // Set up a Seneca action\n\n    let id = 0;\n    server.seneca.addAsync({ generate: 'id' }, async message => {\n      return { id: ++id };\n    });\n\n    // Add route\n\n    server.route({\n      method: 'POST',\n      path: '/id',\n      handler: function(request, h) {\n        // Reply using a Seneca action\n\n        return h.act({ generate: 'id' });\n      }\n    });\n  } catch (err) {}\n})();\n```\n\nIn addition, the `act` handler shortcut is also provided:\n\n```js\nserver.route({\n  method: 'POST',\n  path: '/id',\n  handler: { act: 'generate:id' }\n});\n```\n\n#### `reply.compose(template, context, [options])`\n\nRenders a template view using the provided template and context where:\n\n* `template` - the view engine template (same as the name used in\n  [`reply.view()`](https://github.com/hapijs/hapi/blob/master/API.md#replyviewtemplate-context-options)).\n* `context` - the context object used to render the template. `Chairo` provides a special key `$resolve` where you can map context variables to **Seneca** actions matching they key's value pattern. Each of the services mapped to keys is resolved and the resultant key value maps are copied to the context root before redering the template.\n* `options` - optional settings passed to `reply.view()`.\n\n_It requires the `vision` plugin to be registered with Hapi._\n\n```js\nconst Chairo = require('chairo');\nconst Handlebars = require('handlebars');\nconst Vision = require('vision');\nconst Hapi = require('hapi');\n\nconst server = new Hapi.Server();\n\n(async () => {\n  try {\n    await server.register([Chairo, Vision]);\n    // set up a few Seneca actions\n\n    server.seneca.addAsync({ lookup: 'date' }, async message => {\n      return { date: new Date().toString() };\n    });\n\n    server.seneca.addAsync({ load: 'user' }, async message => {\n      return { name: message.name };\n    });\n\n    // Set up a hapi view engine\n\n    server.views({\n      engines: { html: Handlebars },\n      path: __dirname + '/templates'\n    });\n\n    // Add route\n\n    server.route({\n      method: 'GET',\n      path: '/',\n      handler: function(request, h) {\n        // Setup context with both Seneca actions and simple keys\n\n        const context = {\n          $resolve: {\n            today: 'lookup:date', // Using string pattern\n            user: { load: 'user', name: 'john' } // Using object pattern\n          },\n          general: {\n            message: 'hello!'\n          }\n        };\n\n        // Reply with rendered view\n\n        return h.compose('example', context);\n      }\n    });\n  } catch (err) {}\n})();\n```\n\nUsing the template `./templates/example.html`:\n\n```html\n<div>\n    <h1>{{today.date}}</h1>\n    <h2>{{user.name}}</h2>\n    <h3>{{general.message}}</h3>\n</div>\n```\n\nIn addition, the `compose` handler shortcut is also provided:\n\n```js\nserver.route({\n  method: 'POST',\n  path: '/id',\n  handler: {\n    compose: {\n      template: 'example',\n      context: {\n        $resolve: {\n          today: 'lookup:date',\n          user: { load: 'user', name: 'john' }\n        },\n        general: {\n          message: 'hello!'\n        }\n      }\n    }\n  }\n});\n```\n\n[npm-badge]: https://badge.fury.io/js/chairo.svg\n[npm-url]: https://badge.fury.io/js/chairo\n[travis-badge]: https://api.travis-ci.org/hapijs/chairo.svg\n[travis-url]: https://travis-ci.org/hapijs/chairo\n","maintainers":[{"email":"jonas.pauthier@gmail.com","name":"nargonath"},{"email":"devinivy@gmail.com","name":"devinivy"},{"email":"nicolas@morel.io","name":"marsup"},{"email":"quitlahok@gmail.com","name":"nlf"},{"email":"wpreul@gmail.com","name":"wyatt"},{"email":"eran@hammer.io","name":"hueniverse"}],"time":{"modified":"2023-12-01T08:26:31.476Z","created":"2015-05-27T18:49:23.039Z","0.0.1":"2015-05-27T18:49:23.039Z","0.1.0":"2015-09-15T21:43:13.358Z","0.2.0":"2015-10-04T23:37:11.161Z","1.0.0":"2015-11-12T00:48:32.334Z","0.3.0":"2015-11-12T17:38:36.792Z","0.3.1":"2015-11-12T17:42:28.183Z","1.0.1":"2015-11-12T18:01:07.192Z","1.1.0":"2015-11-12T20:04:13.922Z","1.2.0":"2016-01-13T21:32:24.511Z","1.3.0":"2016-01-14T18:05:36.400Z","2.0.0":"2016-02-05T18:38:23.397Z","2.0.1":"2016-02-26T22:18:59.104Z","2.1.0":"2016-03-11T19:53:27.499Z","2.2.0":"2016-04-07T17:18:01.045Z","2.2.1":"2016-05-21T03:09:19.965Z","3.0.0":"2016-11-22T21:21:19.126Z","4.0.0":"2018-02-15T20:22:51.435Z"},"homepage":"https://github.com/hapijs/chairo#readme","keywords":["hapi","plugin","microservices","seneca"],"repository":{"type":"git","url":"git://github.com/hapijs/chairo.git"},"bugs":{"url":"https://github.com/hapijs/chairo/issues"},"license":"BSD-3-Clause","readmeFilename":"README.md","users":{"alexu84":true,"bitsonic":true,"vwal":true,"ruiquelhas":true,"tmurngon":true,"mhaidarh":true}}