{"_id":"h2o2","_rev":"305728","name":"h2o2","description":"Proxy handler plugin for hapi.js","dist-tags":{"latest":"8.2.0"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"time":{"modified":"2021-06-03T19:31:04.000Z","created":"2014-09-19T02:14:57.456Z","8.2.0":"2019-04-09T22:29:12.770Z","8.1.2":"2018-05-09T22:15:22.229Z","8.1.1":"2018-04-25T23:47:54.256Z","8.1.0":"2018-04-16T20:58:14.900Z","8.0.1":"2018-03-22T21:42:36.275Z","8.0.0":"2018-01-16T16:53:37.207Z","7.0.2":"2018-01-11T20:54:05.733Z","7.0.1":"2017-12-11T20:06:39.915Z","7.0.0":"2017-11-27T20:28:20.609Z","6.1.0":"2017-11-27T18:46:27.471Z","6.0.2":"2017-11-26T23:41:03.537Z","6.0.1":"2017-09-19T03:17:46.356Z","6.0.0":"2017-08-12T18:53:38.437Z","5.4.0":"2016-10-10T22:42:04.239Z","5.2.0":"2016-09-28T04:37:40.133Z","5.1.1":"2016-08-23T04:17:29.806Z","5.1.0":"2016-03-01T01:40:40.761Z","5.0.0":"2015-12-14T21:45:20.980Z","4.0.2":"2015-10-23T05:14:13.853Z","4.0.1":"2015-05-29T05:50:42.839Z","4.0.0":"2014-12-09T22:45:31.260Z","3.0.0":"2014-10-31T00:26:21.043Z","2.0.1":"2014-10-09T20:53:21.070Z","1.0.1":"2014-09-20T07:34:02.548Z","1.0.0":"2014-09-19T02:14:57.456Z"},"users":{"nukisman":true,"ruiquelhas":true,"lassevolkmann":true,"jeltok":true,"artivilla":true,"bholbrook73":true,"ungurys":true},"repository":{"type":"git","url":"git://github.com/hapijs/h2o2.git"},"versions":{"8.2.0":{"name":"h2o2","description":"Proxy handler plugin for hapi.js","version":"8.2.0","repository":{"type":"git","url":"git://github.com/hapijs/h2o2.git"},"main":"lib/index.js","keywords":["HTTP","proxy","handler","hapi","plugin"],"engines":{"node":">=8.x.x"},"dependencies":{"boom":"7.x.x","hoek":"5.x.x","joi":"13.x.x","wreck":"14.x.x"},"devDependencies":{"code":"5.x.x","hapi":"17.x.x","inert":"5.x.x","lab":"15.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"457835f4866f306162af9adab809d859d997f03e","bugs":{"url":"https://github.com/hapijs/h2o2/issues"},"homepage":"https://github.com/hapijs/h2o2#readme","_id":"h2o2@8.2.0","_shasum":"ead6a855f40cf8fbe67986751b5e2ff8a87aa643","_from":".","_npmVersion":"4.6.1","_nodeVersion":"11.13.0","_npmUser":{"name":"sanpan","email":"sanjay@pandit.us"},"dist":{"shasum":"ead6a855f40cf8fbe67986751b5e2ff8a87aa643","size":18624,"noattachment":false,"key":"/h2o2/-/h2o2-8.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/h2o2/download/h2o2-8.2.0.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/h2o2_8.2.0_1554848952608_0.10075567759672022"},"_hasShrinkwrap":false,"publish_time":1554848952770,"_cnpm_publish_time":1554848952770,"deprecated":"This module has moved and is now available at @hapi/h2o2. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."},"8.1.2":{"name":"h2o2","description":"Proxy handler plugin for hapi.js","version":"8.1.2","repository":{"type":"git","url":"git://github.com/hapijs/h2o2.git"},"main":"lib/index.js","keywords":["HTTP","proxy","handler","hapi","plugin"],"engines":{"node":">=8.x.x"},"dependencies":{"boom":"7.x.x","hoek":"5.x.x","joi":"13.x.x","wreck":"14.x.x"},"devDependencies":{"code":"5.x.x","hapi":"17.x.x","inert":"5.x.x","lab":"15.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"cedcaf93e95d579ec407acff0a733027eb9e878d","bugs":{"url":"https://github.com/hapijs/h2o2/issues"},"homepage":"https://github.com/hapijs/h2o2#readme","_id":"h2o2@8.1.2","_shasum":"25e6f69f453175c9ca1e3618741c5ebe1b5000c1","_from":".","_npmVersion":"4.6.1","_nodeVersion":"9.11.1","_npmUser":{"name":"sanpan","email":"sanjay@pandit.us"},"dist":{"shasum":"25e6f69f453175c9ca1e3618741c5ebe1b5000c1","size":18113,"noattachment":false,"key":"/h2o2/-/h2o2-8.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/h2o2/download/h2o2-8.1.2.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/h2o2_8.1.2_1525904122133_0.6555353089761478"},"_hasShrinkwrap":false,"publish_time":1525904122229,"_cnpm_publish_time":1525904122229,"deprecated":"This module has moved and is now available at @hapi/h2o2. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."},"8.1.1":{"name":"h2o2","description":"Proxy handler plugin for hapi.js","version":"8.1.1","repository":{"type":"git","url":"git://github.com/hapijs/h2o2.git"},"main":"lib/index.js","keywords":["HTTP","proxy","handler","hapi","plugin"],"engines":{"node":">=8.x.x"},"dependencies":{"boom":"7.x.x","hoek":"5.x.x","joi":"13.x.x","wreck":"14.x.x"},"devDependencies":{"code":"5.x.x","hapi":"17.x.x","inert":"5.x.x","lab":"15.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"1799adbaa2eb837998a18b8c4da64bb57378bb2d","bugs":{"url":"https://github.com/hapijs/h2o2/issues"},"homepage":"https://github.com/hapijs/h2o2#readme","_id":"h2o2@8.1.1","_shasum":"fdba23054926356aba10402769266ee568ac43bf","_from":".","_npmVersion":"4.6.1","_nodeVersion":"9.11.0","_npmUser":{"name":"sanpan","email":"sanjay@pandit.us"},"dist":{"shasum":"fdba23054926356aba10402769266ee568ac43bf","size":18111,"noattachment":false,"key":"/h2o2/-/h2o2-8.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/h2o2/download/h2o2-8.1.1.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/h2o2_8.1.1_1524700073947_0.5874384313875012"},"_hasShrinkwrap":false,"publish_time":1524700074256,"_cnpm_publish_time":1524700074256,"deprecated":"This module has moved and is now available at @hapi/h2o2. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."},"8.1.0":{"name":"h2o2","description":"Proxy handler plugin for hapi.js","version":"8.1.0","repository":{"type":"git","url":"git://github.com/hapijs/h2o2.git"},"main":"lib/index.js","keywords":["HTTP","proxy","handler","hapi","plugin"],"engines":{"node":">=8.x.x"},"dependencies":{"boom":"7.x.x","hoek":"5.x.x","joi":"13.x.x","wreck":"14.x.x"},"devDependencies":{"code":"5.x.x","hapi":"17.x.x","inert":"5.x.x","lab":"15.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"86a04b2c2f3b4b0bcb04b7d3138787156456ee88","bugs":{"url":"https://github.com/hapijs/h2o2/issues"},"homepage":"https://github.com/hapijs/h2o2#readme","_id":"h2o2@8.1.0","_shasum":"0f07500790011342763b1952ee906b324bc86df8","_from":".","_npmVersion":"4.6.1","_nodeVersion":"9.11.0","_npmUser":{"name":"sanpan","email":"sanjay@pandit.us"},"dist":{"shasum":"0f07500790011342763b1952ee906b324bc86df8","size":18001,"noattachment":false,"key":"/h2o2/-/h2o2-8.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/h2o2/download/h2o2-8.1.0.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/h2o2_8.1.0_1523912294780_0.9317147131594541"},"_hasShrinkwrap":false,"publish_time":1523912294900,"_cnpm_publish_time":1523912294900,"deprecated":"This module has moved and is now available at @hapi/h2o2. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."},"8.0.1":{"name":"h2o2","description":"Proxy handler plugin for hapi.js","version":"8.0.1","repository":{"type":"git","url":"git://github.com/hapijs/h2o2.git"},"main":"lib/index.js","keywords":["HTTP","proxy","handler","hapi","plugin"],"engines":{"node":">=8.x.x"},"dependencies":{"boom":"7.x.x","hoek":"5.x.x","joi":"13.x.x","wreck":"14.x.x"},"devDependencies":{"code":"5.x.x","hapi":"17.x.x","inert":"5.x.x","lab":"15.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"131b8d86403c2b4f743250bcf2ee4e02a11ea84a","bugs":{"url":"https://github.com/hapijs/h2o2/issues"},"homepage":"https://github.com/hapijs/h2o2#readme","_id":"h2o2@8.0.1","_shasum":"665b0ff811fc71f3228fbaa81f51a2b0733ec965","_from":".","_npmVersion":"4.6.1","_nodeVersion":"9.8.0","_npmUser":{"name":"sanpan","email":"sanjay@pandit.us"},"dist":{"shasum":"665b0ff811fc71f3228fbaa81f51a2b0733ec965","size":17548,"noattachment":false,"key":"/h2o2/-/h2o2-8.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/h2o2/download/h2o2-8.0.1.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/h2o2_8.0.1_1521754956172_0.9240190591048398"},"_hasShrinkwrap":false,"publish_time":1521754956275,"_cnpm_publish_time":1521754956275,"deprecated":"This module has moved and is now available at @hapi/h2o2. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."},"8.0.0":{"name":"h2o2","description":"Proxy handler plugin for hapi.js","version":"8.0.0","repository":{"type":"git","url":"git://github.com/hapijs/h2o2.git"},"main":"lib/index.js","keywords":["HTTP","proxy","handler","hapi","plugin"],"engines":{"node":">=8.x.x"},"dependencies":{"boom":"7.x.x","hoek":"5.x.x","joi":"13.x.x","wreck":"14.x.x"},"devDependencies":{"code":"5.x.x","hapi":"17.x.x","inert":"5.x.x","lab":"15.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"98b2c2c55c314a054360590d3539527109635914","bugs":{"url":"https://github.com/hapijs/h2o2/issues"},"homepage":"https://github.com/hapijs/h2o2#readme","_id":"h2o2@8.0.0","_shasum":"5bcb0e6ec5c05e50842f6cb75532f69646611b66","_from":".","_npmVersion":"4.6.1","_nodeVersion":"9.4.0","_npmUser":{"name":"sanpan","email":"sanjay@pandit.us"},"dist":{"shasum":"5bcb0e6ec5c05e50842f6cb75532f69646611b66","size":17524,"noattachment":false,"key":"/h2o2/-/h2o2-8.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/h2o2/download/h2o2-8.0.0.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/h2o2-8.0.0.tgz_1516121616960_0.8755427589640021"},"directories":{},"publish_time":1516121617207,"_hasShrinkwrap":false,"_cnpm_publish_time":1516121617207,"deprecated":"This module has moved and is now available at @hapi/h2o2. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."},"7.0.2":{"name":"h2o2","description":"Proxy handler plugin for hapi.js","version":"7.0.2","repository":{"type":"git","url":"git://github.com/hapijs/h2o2.git"},"main":"lib/index.js","keywords":["HTTP","proxy","handler","hapi","plugin"],"engines":{"node":">=8.x.x"},"dependencies":{"boom":"7.x.x","hoek":"5.x.x","joi":"13.x.x","wreck":"14.x.x"},"devDependencies":{"code":"5.x.x","hapi":"17.x.x","inert":"5.x.x","lab":"15.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"aa9d2f70060cac2bff961b665a456ebba3a02b44","bugs":{"url":"https://github.com/hapijs/h2o2/issues"},"homepage":"https://github.com/hapijs/h2o2#readme","_id":"h2o2@7.0.2","_shasum":"04044957fe68b7fa67cb198a5868e452431c7503","_from":".","_npmVersion":"4.6.1","_nodeVersion":"9.4.0","_npmUser":{"name":"sanpan","email":"sanjay@pandit.us"},"dist":{"shasum":"04044957fe68b7fa67cb198a5868e452431c7503","size":17556,"noattachment":false,"key":"/h2o2/-/h2o2-7.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/h2o2/download/h2o2-7.0.2.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/h2o2-7.0.2.tgz_1515704045561_0.8955312734469771"},"directories":{},"publish_time":1515704045733,"_hasShrinkwrap":false,"_cnpm_publish_time":1515704045733,"deprecated":"This module has moved and is now available at @hapi/h2o2. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."},"7.0.1":{"name":"h2o2","description":"Proxy handler plugin for hapi.js","version":"7.0.1","repository":{"type":"git","url":"git://github.com/hapijs/h2o2.git"},"main":"lib/index.js","keywords":["HTTP","proxy","handler","hapi","plugin"],"engines":{"node":">=8.x.x"},"dependencies":{"boom":"7.x.x","hoek":"5.x.x","joi":"13.x.x","wreck":"14.x.x"},"devDependencies":{"code":"5.x.x","hapi":"17.x.x","inert":"5.x.x","lab":"15.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"398bac9f66172899ce9ceaa345b3652acf0e5931","bugs":{"url":"https://github.com/hapijs/h2o2/issues"},"homepage":"https://github.com/hapijs/h2o2#readme","_id":"h2o2@7.0.1","_shasum":"ea5ebfe7c54ab92c622240263da473eb39386462","_from":".","_npmVersion":"4.6.1","_nodeVersion":"9.2.0","_npmUser":{"name":"sanpan","email":"sanjay@pandit.us"},"dist":{"shasum":"ea5ebfe7c54ab92c622240263da473eb39386462","size":17520,"noattachment":false,"key":"/h2o2/-/h2o2-7.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/h2o2/download/h2o2-7.0.1.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/h2o2-7.0.1.tgz_1513022799739_0.7966805237811059"},"directories":{},"publish_time":1513022799915,"_hasShrinkwrap":false,"_cnpm_publish_time":1513022799915,"deprecated":"This module has moved and is now available at @hapi/h2o2. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."},"7.0.0":{"name":"h2o2","description":"Proxy handler plugin for hapi.js","version":"7.0.0","repository":{"type":"git","url":"git://github.com/hapijs/h2o2.git"},"main":"lib/index.js","keywords":["HTTP","proxy","handler","hapi","plugin"],"engines":{"node":">=8.x.x"},"dependencies":{"boom":"7.x.x","hoek":"5.x.x","joi":"13.x.x","wreck":"14.x.x"},"devDependencies":{"code":"5.x.x","hapi":"17.x.x","inert":"5.x.x","lab":"15.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"172155a54a37565d3ddb7b2ec8c01940295b3cb2","bugs":{"url":"https://github.com/hapijs/h2o2/issues"},"homepage":"https://github.com/hapijs/h2o2#readme","_id":"h2o2@7.0.0","_shasum":"4c1ecfa4b3d46e83290ea2f8bb48b7dda14d4d9f","_from":".","_npmVersion":"4.6.1","_nodeVersion":"9.2.0","_npmUser":{"name":"sanpan","email":"sanjay@pandit.us"},"dist":{"shasum":"4c1ecfa4b3d46e83290ea2f8bb48b7dda14d4d9f","size":17274,"noattachment":false,"key":"/h2o2/-/h2o2-7.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/h2o2/download/h2o2-7.0.0.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/h2o2-7.0.0.tgz_1511814500115_0.21058306517079473"},"directories":{},"publish_time":1511814500609,"_cnpm_publish_time":1511814500609,"_hasShrinkwrap":false,"deprecated":"This module has moved and is now available at @hapi/h2o2. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."},"6.1.0":{"name":"h2o2","description":"Proxy handler plugin for hapi.js","version":"6.1.0","repository":{"type":"git","url":"git://github.com/hapijs/h2o2.git"},"main":"lib/index.js","keywords":["HTTP","proxy","handler","hapi","plugin"],"engines":{"node":">=4.0.0"},"dependencies":{"boom":"5.x.x","hoek":"4.x.x","joi":"10.x.x","wreck":"12.x.x"},"devDependencies":{"code":"4.x.x","hapi":"16.x.x","inert":"4.x.x","lab":"14.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"17e77c58c4f9ca0163e512cbe9bb4c8eccbcd211","bugs":{"url":"https://github.com/hapijs/h2o2/issues"},"homepage":"https://github.com/hapijs/h2o2#readme","_id":"h2o2@6.1.0","_shasum":"2b2e7fcca0e3665c9497645e3203af99ed9033f1","_from":".","_npmVersion":"4.6.1","_nodeVersion":"9.2.0","_npmUser":{"name":"sanpan","email":"sanjay@pandit.us"},"dist":{"shasum":"2b2e7fcca0e3665c9497645e3203af99ed9033f1","size":17219,"noattachment":false,"key":"/h2o2/-/h2o2-6.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/h2o2/download/h2o2-6.1.0.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/h2o2-6.1.0.tgz_1511808387250_0.4533373669255525"},"directories":{},"publish_time":1511808387471,"_cnpm_publish_time":1511808387471,"_hasShrinkwrap":false,"deprecated":"This module has moved and is now available at @hapi/h2o2. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."},"6.0.2":{"name":"h2o2","description":"Proxy handler plugin for hapi.js","version":"6.0.2","repository":{"type":"git","url":"git://github.com/hapijs/h2o2.git"},"main":"lib/index.js","keywords":["HTTP","proxy","handler","hapi","plugin"],"engines":{"node":">=4.0.0"},"dependencies":{"boom":"5.x.x","hoek":"4.x.x","joi":"10.x.x","wreck":"12.x.x"},"devDependencies":{"code":"4.x.x","hapi":"16.x.x","inert":"4.x.x","lab":"14.x.x"},"scripts":{},"license":"BSD-3-Clause","gitHead":"8647dde70b26883ec9145abee6bc0389f4680940","bugs":{"url":"https://github.com/hapijs/h2o2/issues"},"homepage":"https://github.com/hapijs/h2o2#readme","_id":"h2o2@6.0.2","_shasum":"3e61ce5b9a3deff45c2d2dc723f833436b3f64fc","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.9.1","_npmUser":{"name":"sanpan","email":"sanjay@pandit.us"},"dist":{"shasum":"3e61ce5b9a3deff45c2d2dc723f833436b3f64fc","size":15942,"noattachment":false,"key":"/h2o2/-/h2o2-6.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/h2o2/download/h2o2-6.0.2.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/h2o2-6.0.2.tgz_1511739663451_0.7874423861503601"},"directories":{},"publish_time":1511739663537,"_cnpm_publish_time":1511739663537,"_hasShrinkwrap":false,"deprecated":"This module has moved and is now available at @hapi/h2o2. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."},"6.0.1":{"name":"h2o2","description":"Proxy handler plugin for hapi.js","version":"6.0.1","repository":{"type":"git","url":"git://github.com/hapijs/h2o2.git"},"main":"lib/index.js","keywords":["HTTP","proxy","handler","hapi","plugin"],"engines":{"node":">=4.0.0"},"dependencies":{"boom":"5.x.x","hoek":"4.x.x","joi":"10.x.x","wreck":"12.x.x"},"devDependencies":{"code":"4.x.x","hapi":"16.x.x","inert":"4.x.x","lab":"14.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"2f56ebcb3f6c920fd7a42bca23a1042c593d9a0a","bugs":{"url":"https://github.com/hapijs/h2o2/issues"},"homepage":"https://github.com/hapijs/h2o2#readme","_id":"h2o2@6.0.1","_shasum":"7510c93506327099d35b289b7bca1af92b9fb683","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.2","_npmUser":{"name":"osukaa","email":"osukaa18@gmail.com"},"dist":{"shasum":"7510c93506327099d35b289b7bca1af92b9fb683","size":29777,"noattachment":false,"key":"/h2o2/-/h2o2-6.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/h2o2/download/h2o2-6.0.1.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/h2o2-6.0.1.tgz_1505791065254_0.3671937119215727"},"directories":{},"publish_time":1505791066356,"_hasShrinkwrap":false,"_cnpm_publish_time":1505791066356,"deprecated":"This module has moved and is now available at @hapi/h2o2. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."},"6.0.0":{"name":"h2o2","description":"Proxy handler plugin for hapi.js","version":"6.0.0","repository":{"type":"git","url":"git://github.com/hapijs/h2o2.git"},"main":"lib/index.js","keywords":["HTTP","proxy","handler","hapi","plugin"],"engines":{"node":">=4.0.0"},"dependencies":{"boom":"5.x.x","hoek":"4.x.x","joi":"10.x.x","wreck":"12.x.x"},"devDependencies":{"code":"4.x.x","hapi":"16.x.x","inert":"4.x.x","lab":"14.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"e94752db3bc834a140fe500b2728ddedbfe12c2f","bugs":{"url":"https://github.com/hapijs/h2o2/issues"},"homepage":"https://github.com/hapijs/h2o2#readme","_id":"h2o2@6.0.0","_npmVersion":"5.3.0","_nodeVersion":"8.3.0","_npmUser":{"name":"osukaa","email":"osukaa18@gmail.com"},"dist":{"shasum":"641dd48e62d7c71cb872fbb90ad262831cd449ba","size":15531,"noattachment":false,"key":"/h2o2/-/h2o2-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/h2o2/download/h2o2-6.0.0.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/h2o2-6.0.0.tgz_1502564017237_0.4023630900774151"},"directories":{},"publish_time":1502564018437,"_hasShrinkwrap":false,"_cnpm_publish_time":1502564018437,"deprecated":"This module has moved and is now available at @hapi/h2o2. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."},"5.4.0":{"name":"h2o2","description":"Proxy handler plugin for hapi.js","version":"5.4.0","repository":{"type":"git","url":"git://github.com/hapijs/h2o2.git"},"main":"lib/index.js","keywords":["HTTP","proxy","handler","hapi","plugin"],"engines":{"node":">=4.0.0"},"dependencies":{"boom":"3.X.X","hoek":"4.X.X","joi":"9.X.X","wreck":"9.X.X"},"devDependencies":{"code":"3.X.X","hapi":"14.X.X","inert":"4.X.X","lab":"11.X.X"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"738bb2d789e4569845d6d4c265a2523a0b823cf4","bugs":{"url":"https://github.com/hapijs/h2o2/issues"},"homepage":"https://github.com/hapijs/h2o2#readme","_id":"h2o2@5.4.0","_shasum":"d6857ca05355200c890b34a66606caba0229ed58","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"osukaa","email":"osukaa18@gmail.com"},"dist":{"shasum":"d6857ca05355200c890b34a66606caba0229ed58","size":15519,"noattachment":false,"key":"/h2o2/-/h2o2-5.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/h2o2/download/h2o2-5.4.0.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/h2o2-5.4.0.tgz_1476139322467_0.2581532096955925"},"directories":{},"publish_time":1476139324239,"_cnpm_publish_time":1476139324239,"_hasShrinkwrap":false,"deprecated":"This module has moved and is now available at @hapi/h2o2. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."},"5.2.0":{"name":"h2o2","description":"Proxy handler plugin for hapi.js","version":"5.2.0","repository":{"type":"git","url":"git://github.com/hapijs/h2o2.git"},"main":"lib/index.js","keywords":["HTTP","proxy","handler","hapi","plugin"],"engines":{"node":">=4.0.0"},"dependencies":{"boom":"3.X.X","hoek":"4.X.X","joi":"9.X.X","wreck":"9.X.X"},"devDependencies":{"code":"3.X.X","hapi":"14.X.X","inert":"4.X.X","lab":"11.X.X"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"1527dabc81c0d04d9ed68392285fc1bad62dc57a","bugs":{"url":"https://github.com/hapijs/h2o2/issues"},"homepage":"https://github.com/hapijs/h2o2#readme","_id":"h2o2@5.2.0","_shasum":"8c7dcca7bd4b2c448541d99bebaede0f40b9ea8b","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"osukaa","email":"osukaa18@gmail.com"},"dist":{"shasum":"8c7dcca7bd4b2c448541d99bebaede0f40b9ea8b","size":14981,"noattachment":false,"key":"/h2o2/-/h2o2-5.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/h2o2/download/h2o2-5.2.0.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/h2o2-5.2.0.tgz_1475037459445_0.451915631769225"},"directories":{},"publish_time":1475037460133,"_cnpm_publish_time":1475037460133,"_hasShrinkwrap":false,"deprecated":"This module has moved and is now available at @hapi/h2o2. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."},"5.1.1":{"name":"h2o2","description":"Proxy handler plugin for hapi.js","version":"5.1.1","repository":{"type":"git","url":"git://github.com/hapijs/h2o2.git"},"main":"lib/index.js","keywords":["HTTP","proxy","handler","hapi","plugin"],"engines":{"node":">=4.0.0"},"dependencies":{"boom":"3.X.X","hoek":"4.X.X","joi":"9.X.X","wreck":"9.X.X"},"devDependencies":{"code":"3.X.X","hapi":"14.X.X","inert":"4.X.X","lab":"11.X.X"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"3afd364e77cef1af1a888351977266ec7dcff057","bugs":{"url":"https://github.com/hapijs/h2o2/issues"},"homepage":"https://github.com/hapijs/h2o2#readme","_id":"h2o2@5.1.1","_shasum":"dc09d59e8771d0ffc9f3bdba2e6b72ef6151c1e3","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"osukaa","email":"osukaa18@gmail.com"},"dist":{"shasum":"dc09d59e8771d0ffc9f3bdba2e6b72ef6151c1e3","size":14847,"noattachment":false,"key":"/h2o2/-/h2o2-5.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/h2o2/download/h2o2-5.1.1.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/h2o2-5.1.1.tgz_1471925847691_0.013552596559748054"},"directories":{},"publish_time":1471925849806,"_cnpm_publish_time":1471925849806,"_hasShrinkwrap":false,"deprecated":"This module has moved and is now available at @hapi/h2o2. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."},"5.1.0":{"name":"h2o2","description":"Proxy handler plugin for hapi.js","version":"5.1.0","repository":{"type":"git","url":"git://github.com/hapijs/h2o2.git"},"main":"lib/index.js","keywords":["HTTP","proxy","handler","hapi","plugin"],"engines":{"node":">=4.0.0"},"dependencies":{"boom":"3.X.X","hoek":"3.X.X","joi":"8.X.X","wreck":"7.X.X"},"devDependencies":{"code":"2.X.X","hapi":"13.X.X","inert":"3.X.X","lab":"9.X.X"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"2a4e3ed684d3ffb32d23a5f104f03f056066da67","bugs":{"url":"https://github.com/hapijs/h2o2/issues"},"homepage":"https://github.com/hapijs/h2o2#readme","_id":"h2o2@5.1.0","_shasum":"4368e670db9856f6b7925a2944038dae328dbb27","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"osukaa","email":"osukaa18@gmail.com"},"dist":{"shasum":"4368e670db9856f6b7925a2944038dae328dbb27","size":14889,"noattachment":false,"key":"/h2o2/-/h2o2-5.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/h2o2/download/h2o2-5.1.0.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/h2o2-5.1.0.tgz_1456796438810_0.40902684768661857"},"directories":{},"publish_time":1456796440761,"_cnpm_publish_time":1456796440761,"_hasShrinkwrap":false,"deprecated":"This module has moved and is now available at @hapi/h2o2. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."},"5.0.0":{"name":"h2o2","description":"Proxy handler plugin for hapi.js","version":"5.0.0","repository":{"type":"git","url":"git://github.com/hapijs/h2o2.git"},"main":"lib/index.js","keywords":["HTTP","proxy","handler","hapi","plugin"],"engines":{"node":">=4.0.0"},"dependencies":{"boom":"2.X.X","hoek":"2.X.X","joi":"6.X.X","wreck":"6.X.X"},"devDependencies":{"code":"2.X.X","hapi":"11.X.X","inert":"3.X.X","lab":"7.X.X"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"e874dd4c26129f29b6bd94e09637fa07d06210fb","bugs":{"url":"https://github.com/hapijs/h2o2/issues"},"homepage":"https://github.com/hapijs/h2o2#readme","_id":"h2o2@5.0.0","_shasum":"4d48045cad869a3fadb97c714c3accedf7196f72","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"osukaa","email":"osukaa18@gmail.com"},"dist":{"shasum":"4d48045cad869a3fadb97c714c3accedf7196f72","size":14848,"noattachment":false,"key":"/h2o2/-/h2o2-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/h2o2/download/h2o2-5.0.0.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"directories":{},"publish_time":1450129520980,"_cnpm_publish_time":1450129520980,"_hasShrinkwrap":false,"deprecated":"This module has moved and is now available at @hapi/h2o2. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."},"4.0.2":{"name":"h2o2","description":"Proxy handler plugin for hapi.js","version":"4.0.2","repository":{"type":"git","url":"git://github.com/hapijs/h2o2.git"},"main":"lib/index.js","keywords":["HTTP","proxy","handler","hapi","plugin"],"engines":{"node":">=0.10.32"},"dependencies":{"boom":"2.x.x","hoek":"2.x.x","joi":"6.x.x","wreck":"6.x.x"},"devDependencies":{"code":"1.x.x","hapi":"8.x.x","lab":"5.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"f2651b7fb05d95487a8da38ceb8858c9fc54b0ed","bugs":{"url":"https://github.com/hapijs/h2o2/issues"},"homepage":"https://github.com/hapijs/h2o2#readme","_id":"h2o2@4.0.2","_shasum":"87cb960dc0f5b495964fa928253e6cf13ba22486","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"osukaa","email":"osukaa18@gmail.com"},"dist":{"shasum":"87cb960dc0f5b495964fa928253e6cf13ba22486","size":14661,"noattachment":false,"key":"/h2o2/-/h2o2-4.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/h2o2/download/h2o2-4.0.2.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"directories":{},"publish_time":1445577253853,"_cnpm_publish_time":1445577253853,"_hasShrinkwrap":false,"deprecated":"This module has moved and is now available at @hapi/h2o2. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."},"4.0.1":{"name":"h2o2","description":"Proxy handler plugin for hapi.js","version":"4.0.1","repository":{"type":"git","url":"git://github.com/hapijs/h2o2.git"},"main":"lib/index.js","keywords":["HTTP","proxy","handler","hapi","plugin"],"engines":{"node":">=0.10.32"},"dependencies":{"boom":"2.x.x","hoek":"2.x.x","joi":"6.x.x","wreck":"5.x.x"},"devDependencies":{"code":"1.x.x","hapi":"8.x.x","lab":"5.x.x"},"scripts":{"test":"lab -a code -t 100 -L","test-cov-html":"lab -a code -r html -o coverage.html"},"license":"BSD-3-Clause","gitHead":"5913a1b72e066071b75b37e1738846ccd69dcbe0","bugs":{"url":"https://github.com/hapijs/h2o2/issues"},"homepage":"https://github.com/hapijs/h2o2#readme","_id":"h2o2@4.0.1","_shasum":"7a0e2bced1d97178ec56ce3cca48e0c56dee9f8d","_from":".","_npmVersion":"2.10.0","_nodeVersion":"0.10.38","_npmUser":{"name":"hueniverse","email":"eran@hammer.io"},"dist":{"shasum":"7a0e2bced1d97178ec56ce3cca48e0c56dee9f8d","size":12265,"noattachment":false,"key":"/h2o2/-/h2o2-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/h2o2/download/h2o2-4.0.1.tgz"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"directories":{},"publish_time":1432878642839,"_cnpm_publish_time":1432878642839,"_hasShrinkwrap":false,"deprecated":"This module has moved and is now available at @hapi/h2o2. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."},"4.0.0":{"name":"h2o2","description":"Proxy handler plugin for hapi.js","version":"4.0.0","repository":{"type":"git","url":"git://github.com/hapijs/h2o2"},"main":"index","keywords":["HTTP","proxy","handler","hapi","plugin"],"engines":{"node":">=0.10.32"},"dependencies":{"boom":"2.x.x","hoek":"2.x.x","joi":"5.x.x","wreck":"5.x.x"},"devDependencies":{"code":"1.x.x","hapi":"8.x.x","lab":"5.x.x"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/h2o2/raw/master/LICENSE"}],"gitHead":"82abb747600d5392034670c4c9bcfc9930a9773d","bugs":{"url":"https://github.com/hapijs/h2o2/issues"},"homepage":"https://github.com/hapijs/h2o2","_id":"h2o2@4.0.0","_shasum":"ce374312a99bc525befbc25faa268610a9437ec9","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"hueniverse","email":"eran@hueniverse.com"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"dist":{"shasum":"ce374312a99bc525befbc25faa268610a9437ec9","size":12248,"noattachment":false,"key":"/h2o2/-/h2o2-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/h2o2/download/h2o2-4.0.0.tgz"},"directories":{},"publish_time":1418165131260,"_cnpm_publish_time":1418165131260,"_hasShrinkwrap":false,"deprecated":"This module has moved and is now available at @hapi/h2o2. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."},"3.0.0":{"name":"h2o2","description":"Proxy handler for hapi.js","version":"3.0.0","repository":{"type":"git","url":"git://github.com/hapijs/h2o2"},"main":"index","keywords":["HTTP","proxy","handler","hapi"],"engines":{"node":">=0.10.32"},"dependencies":{"boom":"2.x.x","hoek":"2.x.x","joi":"^4.7.x","statehood":"^1.2.x","wreck":"5.x.x"},"devDependencies":{"code":"1.x.x","hapi":"7.x.x","lab":"5.x.x"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/h2o2/raw/master/LICENSE"}],"gitHead":"8f45e8869c5e02a4652ca95aed8fb314423be9c5","bugs":{"url":"https://github.com/hapijs/h2o2/issues"},"homepage":"https://github.com/hapijs/h2o2","_id":"h2o2@3.0.0","_shasum":"70240a9390bff4f59423aa3b323b3b80292a8e36","_from":".","_npmVersion":"2.1.4","_nodeVersion":"0.10.32","_npmUser":{"name":"hueniverse","email":"eran@hueniverse.com"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"dist":{"shasum":"70240a9390bff4f59423aa3b323b3b80292a8e36","size":12196,"noattachment":false,"key":"/h2o2/-/h2o2-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/h2o2/download/h2o2-3.0.0.tgz"},"directories":{},"publish_time":1414715181043,"_cnpm_publish_time":1414715181043,"_hasShrinkwrap":false,"deprecated":"This module has moved and is now available at @hapi/h2o2. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."},"2.0.1":{"name":"h2o2","description":"Proxy handler for hapi.js","version":"2.0.1","repository":{"type":"git","url":"git://github.com/hapijs/h2o2"},"main":"index","keywords":["HTTP","proxy","handler","hapi"],"engines":{"node":">=0.10.32"},"dependencies":{"boom":"2.x.x","hoek":"2.x.x","joi":"^4.7.x","statehood":"^1.2.x","wreck":"5.x.x"},"devDependencies":{"hapi":"7.x.x","lab":"4.x.x"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/h2o2/raw/master/LICENSE"}],"gitHead":"8c0b296ddca4418b658059885d15914b75f60ead","bugs":{"url":"https://github.com/hapijs/h2o2/issues"},"homepage":"https://github.com/hapijs/h2o2","_id":"h2o2@2.0.1","_shasum":"ad65175db80b0ec844fec5e8f96a5653cb8c6158","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"hueniverse","email":"eran@hueniverse.com"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"dist":{"shasum":"ad65175db80b0ec844fec5e8f96a5653cb8c6158","size":12161,"noattachment":false,"key":"/h2o2/-/h2o2-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/h2o2/download/h2o2-2.0.1.tgz"},"directories":{},"publish_time":1412888001070,"_cnpm_publish_time":1412888001070,"_hasShrinkwrap":false,"deprecated":"This module has moved and is now available at @hapi/h2o2. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."},"1.0.1":{"name":"h2o2","description":"Proxy handler for hapi.js","version":"1.0.1","repository":{"type":"git","url":"git://github.com/hapijs/h2o2"},"main":"index","keywords":["HTTP","proxy","handler","hapi"],"engines":{"node":">=0.10.32"},"dependencies":{"boom":"2.x.x","hoek":"2.x.x","joi":"^4.7.x","statehood":"^1.2.x","wreck":"5.x.x"},"devDependencies":{"hapi":"6.x.x","lab":"4.x.x"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/h2o2/raw/master/LICENSE"}],"contributors":[{"name":"Eran Hammer","email":"eran@hammer.io","url":"http://hueniverse.com"}],"gitHead":"e1824e5f56709e38ea5ed3d0042342804af9a804","bugs":{"url":"https://github.com/hapijs/h2o2/issues"},"homepage":"https://github.com/hapijs/h2o2","_id":"h2o2@1.0.1","_shasum":"731582b71a5b9dff49ad127390349b0c5eaddd15","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"hueniverse","email":"eran@hueniverse.com"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"dist":{"shasum":"731582b71a5b9dff49ad127390349b0c5eaddd15","size":12313,"noattachment":false,"key":"/h2o2/-/h2o2-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/h2o2/download/h2o2-1.0.1.tgz"},"directories":{},"publish_time":1411198442548,"_cnpm_publish_time":1411198442548,"_hasShrinkwrap":false,"deprecated":"This module has moved and is now available at @hapi/h2o2. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."},"1.0.0":{"name":"h2o2","description":"Proxy handler for hapi.js","version":"1.0.0","repository":{"type":"git","url":"git://github.com/hapijs/h2o2"},"main":"index","keywords":["HTTP","proxy","handler","hapi"],"engines":{"node":">=0.10.32"},"dependencies":{"boom":"2.x.x","hoek":"2.x.x","joi":"^4.6.x","statehood":"^1.2.x","wreck":"5.x.x"},"devDependencies":{"hapi":"6.x.x","lab":"4.x.x"},"scripts":{"test":"make test-cov"},"licenses":[{"type":"BSD","url":"http://github.com/hapijs/h2o2/raw/master/LICENSE"}],"contributors":[{"name":"Eran Hammer","email":"eran@hammer.io","url":"http://hueniverse.com"}],"gitHead":"d62ac6c7cea0c82dba412beef75513c5c73befca","bugs":{"url":"https://github.com/hapijs/h2o2/issues"},"homepage":"https://github.com/hapijs/h2o2","_id":"h2o2@1.0.0","_shasum":"e43982345f90e9db584f1a22a4f8fbcfd9c5d41b","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"hueniverse","email":"eran@hueniverse.com"},"maintainers":[{"name":"hueniverse","email":"eran@hammer.io"}],"dist":{"shasum":"e43982345f90e9db584f1a22a4f8fbcfd9c5d41b","size":12335,"noattachment":false,"key":"/h2o2/-/h2o2-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/h2o2/download/h2o2-1.0.0.tgz"},"directories":{},"publish_time":1411092897456,"_cnpm_publish_time":1411092897456,"_hasShrinkwrap":false,"deprecated":"This module has moved and is now available at @hapi/h2o2. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues."}},"readme":"# h2o2\n\nProxy handler plugin for hapi.js.\n\n[![NPM](https://nodei.co/npm/h2o2.png?downloads=true&stars=true)](https://nodei.co/npm/h2o2/)\n\n[![Build Status](https://secure.travis-ci.org/hapijs/h2o2.png)](http://travis-ci.org/hapijs/h2o2)\n\nLead Maintainer - [Sanjay Pandit](https://github.com/spanditcaa)\n\n## Introduction\n\n**h2o2** is a hapi plugin that adds proxying functionality.\n\n## Manual loading\nH2o2 version 7 requires Hapi 17. For use with Hapi v16.x.x, please use H2o2 @v6.x.x\n\nStarting on version 9, `hapi` does not load the `h2o2` automatically. To add `h2o2` to your server, you should register it normally.\n\n```javascript\nconst Hapi = require('hapi');\nconst server = Hapi.server();\n\nconst startServer = async function() {\n  try {\n    await server.register({ plugin: require('h2o2') });\n    await server.start();\n\n    console.log(`Server started at:  ${server.info.uri}`);\n  }\n  catch(e) {\n    console.log('Failed to load h2o2');\n  }\n}\n\nstartServer();\n```\n_**NOTE**: h2o2 is included with and loaded by default in Hapi < 9.0._\n\n\n## Options\n\nThe plugin can be registered with an optional object specifying defaults to be applied to the proxy handler object.\n\nThe proxy handler object has the following properties:\n\n* `host` - upstream service host to proxy requests to. It will have the same path as the client request.\n* `port` - upstream service port.\n* `protocol` - protocol to use when making the request to the proxied host:\n    * 'http'\n    * 'https'\n* `uri` - absolute URI used instead of host, port, protocol, path, and query. Cannot be used with `host`, `port`, `protocol`, or `mapUri`.\n* `httpClient` - an http client that abides by the Wreck interface. Defaults to [`wreck`](https://github.com/hapijs/wreck).\n* `passThrough` - if set to `true`, it forwards the headers from the client to the upstream service, headers sent from the upstream service will also be forwarded to the client. Defaults to `false`.\n* `localStatePassThrough` - if set to`false`, any locally defined state is removed from incoming requests before being sent to the upstream service. This value can be overridden on a per state basis via the `server.state()` `passThrough` option. Defaults to `false`\n* `acceptEncoding` - if set to `false`, does not pass-through the 'Accept-Encoding' HTTP header which is useful for the `onResponse` post-processing to avoid receiving an encoded response. Can only be used together with `passThrough`. Defaults to `true` (passing header).\n* `rejectUnauthorized` - sets the `rejectUnauthorized` property on the https [agent](http://nodejs.org/api/https.html#https_https_request_options_callback) making the request. This value is only used when the proxied server uses TLS/SSL. If set it will override the node.js `rejectUnauthorized` property. If `false` then ssl errors will be ignored. When `true` the server certificate is verified and an 500 response will be sent when verification fails. This shouldn't be used alongside the `agent` setting as the `agent` will be used instead. Defaults to the https agent default value of `true`.\n* `xforward` - if set to `true`, sets the 'X-Forwarded-For', 'X-Forwarded-Port', 'X-Forwarded-Proto', 'X-Forwarded-Host' headers when making a request to the proxied upstream endpoint. Defaults to `false`.\n* `redirects` - the maximum number of HTTP redirections allowed to be followed automatically by the handler. Set to `false` or `0` to disable all redirections (the response will contain the redirection received from the upstream service). If redirections are enabled, no redirections (301, 302, 307, 308) will be passed along to the client, and reaching the maximum allowed redirections will return an error response. Defaults to `false`.\n* `timeout` - number of milliseconds before aborting the upstream request. Defaults to `180000` (3 minutes).\n* `mapUri` - a function used to map the request URI to the proxied URI. Cannot be used together with `host`, `port`, `protocol`, or `uri`. The function signature is `function (request)` where:\n    * `request` - is the incoming [request object](http://hapijs.com/api#request-object). The response from this function should be an       object with the following properties:\n        * `uri` - the absolute proxy URI.\n        * `headers` - optional object where each key is an HTTP request header and the value is the header content.\n* `onRequest` - a custom function which is passed the upstream request.  Function signature is `function (req)` where:\n    * `req` - the [wreck] (https://github.com/hapijs/wreck) request to the upstream server.\n* `onResponse` - a custom function for processing the response from the upstream service before sending to the client. Useful for custom error handling of responses from the proxied endpoint or other payload manipulation. Function signature is `function (err, res, request, h, settings, ttl)` where:\n    * `err` - internal or upstream error returned from attempting to contact the upstream proxy.\n    * `res` - the node response object received from the upstream service. `res` is a readable stream (use the [wreck](https://github.com/hapijs/wreck) module `read` method to easily convert it to a Buffer or string).\n    * `request` - is the incoming [request object](http://hapijs.com/api#request-object).\n    * `h` - the [response toolkit](https://hapijs.com/api#response-toolkit).\n    * `settings` - the proxy handler configuration.\n    * `ttl` - the upstream TTL in milliseconds if `proxy.ttl` it set to `'upstream'` and the upstream response included a valid 'Cache-Control' header with 'max-age'.\n* `ttl` - if set to `'upstream'`, applies the upstream response caching policy to the response using the `response.ttl()` method (or passed as an argument to the `onResponse` method if provided).\n* `agent` - a node [http(s) agent](http://nodejs.org/api/http.html#http_class_http_agent) to be used for connections to upstream server.\n* `maxSockets` - sets the maximum number of sockets available per outgoing proxy host connection. `false` means use the **wreck** module default value (`Infinity`). Does not affect non-proxy outgoing client connections. Defaults to `Infinity`.\n* `secureProtocol` - [TLS](http://nodejs.org/api/tls.html) flag indicating the SSL method to use, e.g. `SSLv3_method`\nto force SSL version 3. The possible values depend on your installation of OpenSSL. Read the official OpenSSL docs for possible [SSL_METHODS](https://www.openssl.org/docs/man1.0.2/ssl/ssl.html).\n* `ciphers` - [TLS](https://nodejs.org/api/tls.html#tls_modifying_the_default_tls_cipher_suite) list of TLS ciphers to override node's default.\nThe possible values depend on your installation of OpenSSL. Read the official OpenSSL docs for possible [TLS_CIPHERS](https://www.openssl.org/docs/man1.0.2/apps/ciphers.html#CIPHER-LIST-FORMAT).\n* `downstreamResponseTime` - logs the time spent processing the downstream request using [process.hrtime](https://nodejs.org/api/process.html#process_process_hrtime_time). Defaults to `false`.\n\n## Usage\n\nAs one of the handlers for hapi, it is used through the route configuration object.\n\n### `h.proxy(options)`\n\nProxies the request to an upstream endpoint where:\n- `options` - an object including the same keys and restrictions defined by the\n [route `proxy` handler options](#options).\n\nNo return value.\n\nThe [response flow control rules](http://hapijs.com/api#flow-control) **do not** apply.\n\n```js\nconst handler = function (request, h) {\n\n    return h.proxy({ host: 'example.com', port: 80, protocol: 'http' });\n};\n```\n\n### Using the `host`, `port`, `protocol` options\n\nSetting these options will send the request to certain route to a specific upstream service with the same path as the original request. Cannot be used with `uri`, `mapUri`.\n\n```javascript\nserver.route({\n    method: 'GET',\n    path: '/',\n    handler: {\n        proxy: {\n            host: '10.33.33.1',\n            port: '443',\n            protocol: 'https'\n        }\n    }\n});\n```\n\n### Using the `uri` option\n\nSetting this option will send the request to an absolute URI instead of the incoming host, port, protocol, path and query. Cannot be used with `host`, `port`, `protocol`, `mapUri`.\n\n```javascript\nserver.route({\n    method: 'GET',\n    path: '/',\n    handler: {\n        proxy: {\n            uri: 'https://some.upstream.service.com/that/has?what=you&want=todo'\n        }\n    }\n});\n```\n### Custom `uri` template values\n\nWhen using the `uri` option, there are optional **default** template values that can be injected from the incoming `request`:\n\n* `{protocol}`\n* `{host}`\n* `{port}`\n* `{path}`\n\n```javascript\nserver.route({\n    method: 'GET',\n    path: '/foo',\n    handler: {\n        proxy: {\n            uri: '{protocol}://{host}:{port}/go/to/{path}'\n        }\n    }\n});\n```\nRequests to `http://127.0.0.1:8080/foo/` would be proxied to an upstream destination of `http://127.0.0.1:8080/go/to/foo`\n\n\nAdditionally, you can capture request.params values and inject them into the upstream uri value using a similar replacment strategy:\n```javascript\nserver.route({\n    method: 'GET',\n    path: '/foo/{bar}',\n    handler: {\n        proxy: {\n            uri: 'https://some.upstream.service.com/some/path/to/{bar}'\n        }\n    }\n});\n```\n**Note** The default variables of `{protocol}`, `{host}`, `{port}`, `{path}` take precedence - it's best to treat those as reserved when naming your own `request.params`.\n\n\n### Using the `mapUri` and `onResponse` options\n\nSetting both options with custom functions will allow you to map the original request to an upstream service and to processing the response from the upstream service, before sending it to the client. Cannot be used together with `host`, `port`, `protocol`, or `uri`.\n\n```javascript\nserver.route({\n    method: 'GET',\n    path: '/',\n    handler: {\n        proxy: {\n            mapUri: function (request) {\n\n                console.log('doing some additional stuff before redirecting');\n                return {\n                    uri: 'https://some.upstream.service.com/'\n                };\n            },\n            onResponse: function (err, res, request, h, settings, ttl) {\n\n                console.log('receiving the response from the upstream.');\n                Wreck.read(res, { json: true }, function (err, payload) {\n\n                    console.log('some payload manipulation if you want to.')\n                    const response = h.response(payload);\n                    response.headers = res.headers;\n                    return response;\n                });\n            }\n        }\n    }\n});\n\n```\n\n\n### Using a custom http client\n\nBy default, `h2o2` uses Wreck to perform requests. A custom http client can be provided by passing a client to `httpClient`, as long as it abides by the [`wreck`](https://github.com/hapijs/wreck) interface. The two functions that `h2o2` utilizes are `request()` and `parseCacheControl()`.\n\n```javascript\nserver.route({\n    method: 'GET',\n    path: '/',\n    handler: {\n        proxy: {\n            httpClient: {\n                request(method, uri, options) {\n                    return axios({\n                        method,\n                        url: 'https://some.upstream.service.com/'\n                    })\n                }\n            }\n        }\n    }\n});\n```","_attachments":{},"homepage":"https://github.com/hapijs/h2o2#readme","bugs":{"url":"https://github.com/hapijs/h2o2/issues"},"license":"BSD-3-Clause"}