{"_id":"typed-request-client","_rev":"39-cbd50aa7396dc601d091231fd6fede64","name":"typed-request-client","dist-tags":{"latest":"6.2.4"},"versions":{"3.0.1":{"name":"typed-request-client","version":"3.0.1","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"_id":"typed-request-client@3.0.1","maintainers":[{"name":"raynos","email":"raynos2@gmail.com"}],"homepage":"https://github.com/uber/typed-request-client","bugs":{"url":"https://github.com/uber/typed-request-client/issues","email":"raynos2@gmail.com"},"dist":{"shasum":"7787f7357fce8acacaf25394d240832fe1060263","tarball":"https://registry.npmjs.org/typed-request-client/-/typed-request-client-3.0.1.tgz","integrity":"sha512-Ti12WfbylESJ5ZooG4atJXDc+5713idPoJ6VTDvVsMHEwxR2InrstCXtqs8kR7tXXbbHWE2PfJepfLnyB6cU7w==","signatures":[{"sig":"MEUCIEUUNCVUb1QM1U6X/4iDqnBUttcYYRJDT74amByyba/zAiEA92Zuf7q7tt1SFSSmItPe5umi+WiCut+lkOI1KdOxV7U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index","_from":".","engine":{"node":">= 0.8.x"},"_shasum":"7787f7357fce8acacaf25394d240832fe1060263","gitHead":"43974b175c60bc602fff4f78315b040bdef07632","scripts":{"test":"npm run jshint -s && npm run cover -s","cover":"istanbul cover --report html --print detail test/index.js && istanbul check-coverage --lines=100 --branches=100","jshint":"jshint --verbose . && jscs .","travis":"npm run cover -s && istanbul report lcov && ((cat coverage/lcov.info | coveralls) || exit 0)","fast-test":"npm run cover -s","view-cover":"istanbul report html && opn ./coverage/index.html","jshint-pre-commit":"jshint --verbose $(git diff --cached --name-only --diff-filter=ACMRTUXB | grep '\\.js$')"},"_npmUser":{"name":"raynos","email":"raynos2@gmail.com"},"licenses":[{"url":"http://github.com/uber/typed-request-client/raw/master/LICENSE","type":"MIT"}],"pre-commit":["jshint-pre-commit","fast-test"],"repository":{"url":"git://github.com/uber/typed-request-client.git","type":"git"},"_npmVersion":"1.4.21","description":"Make HTTP requests using TypedRequest and TypedResponse objects.","directories":{},"dependencies":{"glob":"^4.0.5","error":"^4.1.1","airlock":"^2.1.0","enchain":"0.0.1","request":"^2.44.0","jayschema":"^0.3.1","json-schema-filter":"git+ssh://gitolite@code.uber.internal:github/uber/json-schema-filter#v0.1.4-empty-properties2","jayschema-error-messages":"^1.0.2"},"devDependencies":{"opn":"^0.1.2","body":"^4.5.0","jscs":"^1.6.2","tape":"^3.0.0","jshint":"^2.5.0","istanbul":"^0.2.16","tap-spec":"^0.1.8","coveralls":"^2.10.0","send-data":"^3.3.3","pre-commit":"0.0.5","format-stack":"^2.0.0"},"playdoh-version":"2.5.0"},"4.0.0":{"name":"typed-request-client","version":"4.0.0","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"_id":"typed-request-client@4.0.0","maintainers":[{"name":"raynos","email":"raynos2@gmail.com"},{"name":"uber","email":"jakev@uber.com"}],"homepage":"https://github.com/uber/typed-request-client","bugs":{"url":"https://github.com/uber/typed-request-client/issues","email":"raynos2@gmail.com"},"dist":{"shasum":"754da3617e1a0caed3161bb941ce4995712ab2ff","tarball":"https://registry.npmjs.org/typed-request-client/-/typed-request-client-4.0.0.tgz","integrity":"sha512-FJq9X6ksm0nziXevSias2H7aGRWFH68G3YNUTiniwlZ2+Q477Z8+s/r8v2Q1klLtVCJa1TXU0uS5g2P7QIF11Q==","signatures":[{"sig":"MEYCIQDiSDUBQ3MDrZbQZqGtfvwwJCGHe13BHwa7dPWtOSaBmwIhALYRe5NUH4NxLwKatTrXEXO9p9UuM5bscp/peY6JVqyt","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index","_from":".","engine":{"node":">= 0.8.x"},"_shasum":"754da3617e1a0caed3161bb941ce4995712ab2ff","gitHead":"5af068e503cf352a8eb0fc41a0c8df79932f3f7b","scripts":{"test":"npm run jshint -s && npm run cover -s","cover":"istanbul cover --report html --print detail test/index.js && istanbul check-coverage --lines=100 --branches=100","jshint":"jshint --verbose . && jscs .","travis":"npm run cover -s && istanbul report lcov && ((cat coverage/lcov.info | coveralls) || exit 0)","fast-test":"npm run cover -s","view-cover":"istanbul report html && opn ./coverage/index.html","jshint-pre-commit":"jshint --verbose $(git diff --cached --name-only --diff-filter=ACMRTUXB | grep '\\.js$')"},"_npmUser":{"name":"raynos","email":"raynos2@gmail.com"},"licenses":[{"url":"http://github.com/uber/typed-request-client/raw/master/LICENSE","type":"MIT"}],"pre-commit":["jshint-pre-commit","fast-test"],"repository":{"url":"git://github.com/uber/typed-request-client.git","type":"git"},"_npmVersion":"1.4.21","description":"Make HTTP requests using TypedRequest and TypedResponse objects.","directories":{},"dependencies":{"glob":"^4.0.5","error":"^4.1.1","airlock":"^2.1.0","enchain":"0.0.1","request":"^2.44.0","jayschema":"^0.3.1","json-schema-filter":"git+ssh://gitolite@code.uber.internal:github/uber/json-schema-filter#v0.1.4-empty-properties2","jayschema-error-messages":"^1.0.2"},"devDependencies":{"opn":"^0.1.2","body":"^4.5.0","jscs":"^1.6.2","tape":"^3.0.0","jshint":"^2.5.0","istanbul":"^0.2.16","tap-spec":"^0.1.8","coveralls":"^2.10.0","send-data":"^3.3.3","pre-commit":"0.0.5","format-stack":"^2.0.0"},"playdoh-version":"2.5.0"},"4.0.1":{"name":"typed-request-client","version":"4.0.1","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"_id":"typed-request-client@4.0.1","maintainers":[{"name":"raynos","email":"raynos2@gmail.com"},{"name":"uber","email":"jakev@uber.com"}],"homepage":"https://github.com/uber/typed-request-client","bugs":{"url":"https://github.com/uber/typed-request-client/issues","email":"raynos2@gmail.com"},"dist":{"shasum":"664ada19e270e92326edf4cf34aee9f3fbf28f35","tarball":"https://registry.npmjs.org/typed-request-client/-/typed-request-client-4.0.1.tgz","integrity":"sha512-7zp4kujFouEcue31YDsM8rx9fwTgeVMO2t18QDxuRF0386Jjva5r1oRD75TzGPzGJYPIIOfT2IG69TnprefEuA==","signatures":[{"sig":"MEYCIQC7jns8o+m1aKbC1C0Z8UsGX0nOH3Prx0S6701zNyTLcAIhANlZb7+H/boT9cT5mS9H+2hevagZgJAIZ44Kao95VZGm","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index","_from":".","engine":{"node":">= 0.8.x"},"_shasum":"664ada19e270e92326edf4cf34aee9f3fbf28f35","gitHead":"239d824b0c9388f5e4a23a86ead4a7a555776851","scripts":{"test":"npm run jshint -s && npm run cover -s","cover":"istanbul cover --report html --print detail test/index.js && istanbul check-coverage --lines=100 --branches=100","jshint":"jshint --verbose . && jscs .","travis":"npm run cover -s && istanbul report lcov && ((cat coverage/lcov.info | coveralls) || exit 0)","fast-test":"npm run cover -s","view-cover":"istanbul report html && opn ./coverage/index.html","jshint-pre-commit":"jshint --verbose $(git diff --cached --name-only --diff-filter=ACMRTUXB | grep '\\.js$')"},"_npmUser":{"name":"uber","email":"opensource@uber.com"},"licenses":[{"url":"http://github.com/uber/typed-request-client/raw/master/LICENSE","type":"MIT"}],"pre-commit":["jshint-pre-commit","fast-test"],"repository":{"url":"git://github.com/uber/typed-request-client.git","type":"git"},"_npmVersion":"1.4.28","description":"Make HTTP requests using TypedRequest and TypedResponse objects.","directories":{},"dependencies":{"glob":"^4.0.5","error":"^4.1.1","airlock":"^2.1.0","enchain":"0.0.1","request":"^2.44.0","jayschema":"^0.3.1","uber-json-schema-filter":"^2.0.1","jayschema-error-messages":"^1.0.2"},"devDependencies":{"opn":"^0.1.2","body":"^4.5.0","jscs":"^1.6.2","tape":"^3.0.0","jshint":"^2.5.0","istanbul":"^0.2.16","tap-spec":"^0.1.8","coveralls":"^2.10.0","send-data":"^3.3.3","pre-commit":"0.0.5","format-stack":"^2.0.0"},"playdoh-version":"2.5.0"},"4.0.2":{"name":"typed-request-client","version":"4.0.2","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"_id":"typed-request-client@4.0.2","maintainers":[{"name":"raynos","email":"raynos2@gmail.com"},{"name":"uber","email":"jakev@uber.com"}],"homepage":"https://github.com/uber/typed-request-client","bugs":{"url":"https://github.com/uber/typed-request-client/issues","email":"raynos2@gmail.com"},"dist":{"shasum":"d84015363c6158692008619e34572bd95b8d2e08","tarball":"https://registry.npmjs.org/typed-request-client/-/typed-request-client-4.0.2.tgz","integrity":"sha512-p8DqcOKUAIP9U/e7a2VXujbRuxw23lzHxMA0jEslJysG5qZllCa6EFgjU9Yst4PIKG6ZhBy/VLXle9Wew3NfBA==","signatures":[{"sig":"MEUCIFRbIMoZBZ9Bl5FO2Y918LTCcu0XVRbPGPJDoHKb+RklAiEArpk42yRrJ8w3JjHIJgvRlFQSfX3aEt3fqZnCyhy3O7s=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index","_from":".","engine":{"node":">= 0.8.x"},"scripts":{"test":"npm run jshint -s && npm run cover -s","cover":"istanbul cover --report html --print detail test/index.js && istanbul check-coverage --lines=100 --branches=100","jshint":"jshint --verbose . && jscs .","travis":"npm run cover -s && istanbul report lcov && ((cat coverage/lcov.info | coveralls) || exit 0)","fast-test":"npm run cover -s","view-cover":"istanbul report html && opn ./coverage/index.html","jshint-pre-commit":"jshint --verbose $(git diff --cached --name-only --diff-filter=ACMRTUXB | grep '\\.js$')"},"_npmUser":{"name":"uber","email":"opensource@uber.com"},"licenses":[{"url":"http://github.com/uber/typed-request-client/raw/master/LICENSE","type":"MIT"}],"pre-commit":["jshint-pre-commit","fast-test"],"repository":{"url":"git://github.com/uber/typed-request-client.git","type":"git"},"_npmVersion":"1.4.3","description":"Make HTTP requests using TypedRequest and TypedResponse objects.","directories":{},"dependencies":{"glob":"^4.0.5","error":"^4.1.1","xtend":"^4.0.0","airlock":"^2.1.0","enchain":"0.0.1","request":"^2.44.0","jayschema":"^0.3.1","uber-json-schema-filter":"^2.0.1","jayschema-error-messages":"^1.0.2"},"devDependencies":{"opn":"^0.1.2","body":"^4.5.0","jscs":"^1.6.2","tape":"^3.0.0","jshint":"^2.5.0","istanbul":"^0.2.16","tap-spec":"^0.1.8","coveralls":"^2.10.0","send-data":"^3.3.3","pre-commit":"0.0.5","format-stack":"^2.0.0"},"playdoh-version":"2.5.0"},"4.0.3":{"name":"typed-request-client","version":"4.0.3","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"_id":"typed-request-client@4.0.3","maintainers":[{"name":"raynos","email":"raynos2@gmail.com"},{"name":"uber","email":"jakev@uber.com"}],"homepage":"https://github.com/uber/typed-request-client","bugs":{"url":"https://github.com/uber/typed-request-client/issues","email":"raynos2@gmail.com"},"dist":{"shasum":"7bf6f2991f83a31c18a2188a09b69800605436b3","tarball":"https://registry.npmjs.org/typed-request-client/-/typed-request-client-4.0.3.tgz","integrity":"sha512-7rx9EFbrac77KOjgRCB1n+y5Qa/FoQBzLLz1NeGVVyuWle5YrjjKFu6XIOolDRrhuDCfc+TvSZKfIIYsxakEYA==","signatures":[{"sig":"MEQCIC6tbXXMxtXV4i+PB9oYzsbT8BfjiRyD18D2nc6bpUzqAiBYmJBQz8rAlQ4Z9zpofAPp14GRijI5We6xuuTbDeBKoQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index","_from":".","engine":{"node":">= 0.8.x"},"scripts":{"test":"npm run jshint -s && npm run cover -s","cover":"istanbul cover --report html --print detail test/index.js && istanbul check-coverage --lines=100 --branches=100","jshint":"jshint --verbose . && jscs .","travis":"npm run cover -s && istanbul report lcov && ((cat coverage/lcov.info | coveralls) || exit 0)","fast-test":"npm run cover -s","view-cover":"istanbul report html && opn ./coverage/index.html","jshint-pre-commit":"jshint --verbose $(git diff --cached --name-only --diff-filter=ACMRTUXB | grep '\\.js$')"},"_npmUser":{"name":"uber","email":"opensource@uber.com"},"licenses":[{"url":"http://github.com/uber/typed-request-client/raw/master/LICENSE","type":"MIT"}],"pre-commit":["jshint-pre-commit","fast-test"],"repository":{"url":"git://github.com/uber/typed-request-client.git","type":"git"},"_npmVersion":"1.4.3","description":"Make HTTP requests using TypedRequest and TypedResponse objects.","directories":{},"dependencies":{"glob":"^4.0.5","error":"^4.1.1","xtend":"^4.0.0","airlock":"^2.1.0","enchain":"0.0.1","request":"^2.44.0","jayschema":"^0.3.1","uber-json-schema-filter":"^2.0.2","jayschema-error-messages":"^1.0.2"},"devDependencies":{"opn":"^0.1.2","body":"^4.5.0","jscs":"^1.6.2","tape":"^3.0.0","jshint":"^2.5.0","istanbul":"^0.2.16","tap-spec":"^0.1.8","coveralls":"^2.10.0","send-data":"^3.3.3","pre-commit":"0.0.5","format-stack":"^2.0.0"},"playdoh-version":"2.5.0"},"4.1.0":{"name":"typed-request-client","version":"4.1.0","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"_id":"typed-request-client@4.1.0","maintainers":[{"name":"raynos","email":"raynos2@gmail.com"},{"name":"uber","email":"jakev@uber.com"}],"homepage":"https://github.com/uber/typed-request-client","bugs":{"url":"https://github.com/uber/typed-request-client/issues","email":"raynos2@gmail.com"},"dist":{"shasum":"ab766abf1cf86789b98fe1512decb5365eaf0012","tarball":"https://registry.npmjs.org/typed-request-client/-/typed-request-client-4.1.0.tgz","integrity":"sha512-1otCUuCBLJwSkKuT4pTCdkFf++nRMaf8YqqzQ4DKFLvpvjVhZMONgtAGlQ78clSJbm2yBWGhi7j/Xy79swHtuA==","signatures":[{"sig":"MEUCICksk6ZheOhEl3Tj5UgK80be8ezttNJRAc+uj3C6OAppAiEAqhFe82RGCBkEqZFuUwTPitUQko2fyMviBMtMGy12jDQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index","_from":".","engine":{"node":">= 0.8.x"},"_shasum":"ab766abf1cf86789b98fe1512decb5365eaf0012","gitHead":"0cfb2a1744bb0bf0d8b1b1cd1d75c0ad2dd633ef","scripts":{"test":"npm run jshint -s && npm run cover -s","cover":"istanbul cover --report html --print detail test/index.js && istanbul check-coverage --lines=100 --branches=100","jshint":"jshint --verbose . && jscs .","travis":"npm run cover -s && istanbul report lcov && ((cat coverage/lcov.info | coveralls) || exit 0)","fast-test":"npm run cover -s","view-cover":"istanbul report html && opn ./coverage/index.html","jshint-pre-commit":"jshint --verbose $(git diff --cached --name-only --diff-filter=ACMRTUXB | grep '\\.js$')"},"_npmUser":{"name":"raynos","email":"raynos2@gmail.com"},"licenses":[{"url":"http://github.com/uber/typed-request-client/raw/master/LICENSE","type":"MIT"}],"pre-commit":["jshint-pre-commit","fast-test"],"repository":{"url":"git://github.com/uber/typed-request-client.git","type":"git"},"_npmVersion":"1.4.28","description":"Make HTTP requests using TypedRequest and TypedResponse objects.","directories":{},"dependencies":{"glob":"^4.0.5","error":"^4.1.1","xtend":"^4.0.0","airlock":"^2.1.0","enchain":"0.0.1","request":"^2.44.0","jayschema":"^0.3.1","uber-json-schema-filter":"^2.0.2","jayschema-error-messages":"^1.0.2"},"devDependencies":{"opn":"^0.1.2","body":"^4.5.0","jscs":"^1.6.2","tape":"^3.0.0","jshint":"^2.5.0","istanbul":"^0.2.16","tap-spec":"^0.1.8","coveralls":"^2.10.0","send-data":"^3.3.3","pre-commit":"0.0.5","format-stack":"^2.0.0"},"playdoh-version":"2.5.0"},"4.1.1":{"name":"typed-request-client","version":"4.1.1","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"_id":"typed-request-client@4.1.1","maintainers":[{"name":"raynos","email":"raynos2@gmail.com"},{"name":"uber","email":"jakev@uber.com"},{"name":"jwolski","email":"jeff.wolski@gmail.com"}],"homepage":"https://github.com/uber/typed-request-client","bugs":{"url":"https://github.com/uber/typed-request-client/issues","email":"raynos2@gmail.com"},"dist":{"shasum":"de3b328dc9df1e46c0e1586e13da81496663f56e","tarball":"https://registry.npmjs.org/typed-request-client/-/typed-request-client-4.1.1.tgz","integrity":"sha512-OCW/BzlwtVuhkBnUjZB8qUpih6IU2ClH+QlWyaJygnwXh0LvfjcS0XxpPujNme4hO7Y5br0WnQlq/WbpsxDoFQ==","signatures":[{"sig":"MEUCIGzzbdDo10qrmuG+4gbX+0QEz+QtrYCNXBWo+oeH81+DAiEA99I/A6Hu8gEYPQCyaFyP/OOgzBYT5ob0k+QZqm1KhdI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index","_from":".","engine":{"node":">= 0.8.x"},"_shasum":"de3b328dc9df1e46c0e1586e13da81496663f56e","gitHead":"456aeff8b7d8ead7bbc08c42f279774207e671d1","scripts":{"test":"npm run jshint -s && npm run cover -s","cover":"istanbul cover --report html --print detail test/index.js && istanbul check-coverage --lines=100 --branches=100","jshint":"jshint --verbose . && jscs .","travis":"npm run cover -s && istanbul report lcov && ((cat coverage/lcov.info | coveralls) || exit 0)","fast-test":"npm run cover -s","view-cover":"istanbul report html && opn ./coverage/index.html","jshint-pre-commit":"jshint --verbose $(git diff --cached --name-only --diff-filter=ACMRTUXB | grep '\\.js$')"},"_npmUser":{"name":"raynos","email":"raynos2@gmail.com"},"licenses":[{"url":"http://github.com/uber/typed-request-client/raw/master/LICENSE","type":"MIT"}],"pre-commit":["jshint-pre-commit","fast-test"],"repository":{"url":"git://github.com/uber/typed-request-client.git","type":"git"},"_npmVersion":"1.4.28","description":"Make HTTP requests using TypedRequest and TypedResponse objects.","directories":{},"dependencies":{"glob":"^4.0.5","error":"^4.1.1","xtend":"^4.0.0","airlock":"^2.1.0","enchain":"0.0.1","request":"^2.44.0","jayschema":"^0.3.1","uber-json-schema-filter":"^2.0.2","jayschema-error-messages":"^1.0.2"},"devDependencies":{"opn":"^0.1.2","body":"^4.5.0","jscs":"^1.6.2","tape":"^3.0.0","jshint":"^2.5.0","istanbul":"^0.2.16","tap-spec":"^0.1.8","coveralls":"^2.10.0","send-data":"^3.3.3","pre-commit":"0.0.5","format-stack":"^2.0.0"},"playdoh-version":"2.5.0"},"4.1.2":{"name":"typed-request-client","version":"4.1.2","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"_id":"typed-request-client@4.1.2","maintainers":[{"name":"raynos","email":"raynos2@gmail.com"},{"name":"uber","email":"jakev@uber.com"},{"name":"jwolski","email":"jeff.wolski@gmail.com"}],"homepage":"https://github.com/uber/typed-request-client","bugs":{"url":"https://github.com/uber/typed-request-client/issues","email":"raynos2@gmail.com"},"dist":{"shasum":"5900c56d7bdc18efb044b5b45d4b18dfac5445e6","tarball":"https://registry.npmjs.org/typed-request-client/-/typed-request-client-4.1.2.tgz","integrity":"sha512-PlvTYaJMMPSNIhoItclqqY8I/w4GHHb/+GHPL5S9jn8VJgp0XTMJoshS3nXFkYKPyPwDgJASufSVHAu+Fd5Lvw==","signatures":[{"sig":"MEUCIQD599Jd1EW7MqF8HhGf2ymsZ9wK9kHiwoUDSrfMvMAhFAIgI0HtPn+gyAr02wUhhi6LBXM3Tqja7KGleviDHKoAeEg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index","_from":".","engine":{"node":">= 0.8.x"},"scripts":{"test":"npm run jshint -s && npm run cover -s","cover":"istanbul cover --report html --print detail test/index.js && istanbul check-coverage --lines=100 --branches=100","jshint":"jshint --verbose . && jscs .","travis":"npm run cover -s && istanbul report lcov && ((cat coverage/lcov.info | coveralls) || exit 0)","fast-test":"npm run cover -s","view-cover":"istanbul report html && opn ./coverage/index.html","jshint-pre-commit":"jshint --verbose $(git diff --cached --name-only --diff-filter=ACMRTUXB | grep '\\.js$')"},"_npmUser":{"name":"jwolski","email":"jeff.wolski@gmail.com"},"licenses":[{"url":"http://github.com/uber/typed-request-client/raw/master/LICENSE","type":"MIT"}],"pre-commit":["jshint-pre-commit","fast-test"],"repository":{"url":"git://github.com/uber/typed-request-client.git","type":"git"},"_npmVersion":"1.4.3","description":"Make HTTP requests using TypedRequest and TypedResponse objects.","directories":{},"dependencies":{"glob":"^4.0.5","error":"^4.1.1","xtend":"^4.0.0","airlock":"^2.1.0","enchain":"0.0.1","request":"^2.44.0","jayschema":"^0.3.1","uber-json-schema-filter":"^2.0.2","jayschema-error-messages":"^1.0.2"},"devDependencies":{"opn":"^0.1.2","body":"^4.5.0","jscs":"^1.6.2","tape":"^3.0.0","jshint":"^2.5.0","istanbul":"^0.2.16","tap-spec":"^0.1.8","coveralls":"^2.10.0","send-data":"^3.3.3","pre-commit":"0.0.5","format-stack":"^2.0.0"},"playdoh-version":"2.5.0"},"6.0.0":{"name":"typed-request-client","version":"6.0.0","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"_id":"typed-request-client@6.0.0","maintainers":[{"name":"raynos","email":"raynos2@gmail.com"},{"name":"uber","email":"jakev@uber.com"},{"name":"jwolski","email":"jeff.wolski@gmail.com"}],"homepage":"https://github.com/uber/typed-request-client","bugs":{"url":"https://github.com/uber/typed-request-client/issues","email":"raynos2@gmail.com"},"dist":{"shasum":"3f9faa90c46fe73a0c23cf6189a6bd6f6b389fde","tarball":"https://registry.npmjs.org/typed-request-client/-/typed-request-client-6.0.0.tgz","integrity":"sha512-IPHSnWi59qOSPdviWQx1UuH1fDwfLI09jiegdu2unilStxOqVpUAD231p6uMiNulnhsBCOPIK0R8JY2T7tXBkg==","signatures":[{"sig":"MEUCIQC8LK9gtaxGHIpDPK9/ga7YyKLjmUP9FrzRCGgNacDoKwIgU/KEQ2qsMpIkaf7wgi7NGoeJjkRjLR8a3/MV52UahYI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index","_from":".","engine":{"node":">= 0.8.x"},"scripts":{"test":"npm run jshint -s && npm run cover -s","cover":"istanbul cover --report html --print detail test/index.js && istanbul check-coverage --lines=100 --branches=100","jshint":"lint-trap","travis":"npm run cover -s && istanbul report lcov && ((cat coverage/lcov.info | coveralls) || exit 0)","fast-test":"npm run cover -s","view-cover":"istanbul report html && opn ./coverage/index.html","jshint-pre-commit":"jshint --verbose $(git diff --cached --name-only --diff-filter=ACMRTUXB | grep '\\.js$')"},"_npmUser":{"name":"uber","email":"opensource@uber.com"},"licenses":[{"url":"http://github.com/uber/typed-request-client/raw/master/LICENSE","type":"MIT"}],"pre-commit":["jshint-pre-commit","fast-test"],"repository":{"url":"git://github.com/uber/typed-request-client.git","type":"git"},"_npmVersion":"1.4.3","description":"Make HTTP requests using TypedRequest and TypedResponse objects.","directories":{},"dependencies":{"glob":"^4.0.5","error":"^4.1.1","xtend":"^4.0.0","airlock":"^2.1.0","enchain":"0.0.1","request":"^2.44.0","jayschema":"^0.3.1","uber-json-schema-filter":"^2.0.2","jayschema-error-messages":"^1.0.2"},"devDependencies":{"opn":"^0.1.2","body":"^4.5.0","jscs":"^1.6.2","tape":"^3.0.0","jshint":"^2.5.0","istanbul":"^0.3.13","tap-spec":"^0.1.8","coveralls":"^2.10.0","lint-trap":"^1.0.1","send-data":"^3.3.3","pre-commit":"0.0.5","format-stack":"^2.0.0"},"playdoh-version":"2.5.0"},"6.1.0":{"name":"typed-request-client","version":"6.1.0","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"_id":"typed-request-client@6.1.0","maintainers":[{"name":"raynos","email":"raynos2@gmail.com"},{"name":"uber","email":"opensource@uber.com"},{"name":"jwolski","email":"jeff.wolski@gmail.com"},{"name":"sh1mmer","email":"tom.croucher@gmail.com"}],"homepage":"https://github.com/uber/typed-request-client","bugs":{"url":"https://github.com/uber/typed-request-client/issues","email":"raynos2@gmail.com"},"dist":{"shasum":"8eb8ba176df4053c86047326a6b9ec2942f1cfd9","tarball":"https://registry.npmjs.org/typed-request-client/-/typed-request-client-6.1.0.tgz","integrity":"sha512-snpnzwF56Dgm6PeQ9wQt8u+2Z68uYK4n70OvT5w2WINY03uZD+Nbb6F6AOB8KourRGFYVLVYNVVxdRGynz/n9g==","signatures":[{"sig":"MEUCIQCZ6JYmEh8OoTVaKS6bIOQk/d+MRHWp8VUC0yQ0TKmOTwIgN74Tzg7oUugT72/ucBISyfjkqlYmDPeebbzUK4K9REw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index","_from":".","engine":{"node":">= 0.8.x"},"_shasum":"8eb8ba176df4053c86047326a6b9ec2942f1cfd9","gitHead":"90aa97aea99c1c08f36dd7a78eb69d0dd2b87719","scripts":{"test":"npm run jshint -s && npm run cover -s","cover":"istanbul cover --report html --print detail test/index.js && istanbul check-coverage --lines=100 --branches=100","jshint":"lint-trap","travis":"npm run cover -s && istanbul report lcov && ((cat coverage/lcov.info | coveralls) || exit 0)","fast-test":"npm run cover -s","view-cover":"istanbul report html && opn ./coverage/index.html","jshint-pre-commit":"jshint --verbose $(git diff --cached --name-only --diff-filter=ACMRTUXB | grep '\\.js$')"},"_npmUser":{"name":"sh1mmer","email":"tom.croucher@gmail.com"},"licenses":[{"url":"http://github.com/uber/typed-request-client/raw/master/LICENSE","type":"MIT"}],"pre-commit":["jshint-pre-commit","fast-test"],"repository":{"url":"git://github.com/uber/typed-request-client.git","type":"git"},"_npmVersion":"2.8.2","description":"Make HTTP requests using TypedRequest and TypedResponse objects.","directories":{},"_nodeVersion":"0.10.32","dependencies":{"glob":"^4.0.5","error":"^4.1.1","xtend":"^4.0.0","airlock":"^2.1.0","enchain":"0.0.1","request":"^2.44.0","jayschema":"^0.3.1","uber-json-schema-filter":"^2.0.2","jayschema-error-messages":"^1.0.2"},"devDependencies":{"opn":"^0.1.2","body":"^4.5.0","jscs":"^1.6.2","tape":"^3.0.0","jshint":"^2.5.0","istanbul":"^0.3.13","tap-spec":"^0.1.8","coveralls":"^2.10.0","lint-trap":"^1.0.1","send-data":"^3.3.3","pre-commit":"0.0.5","format-stack":"^2.0.0"},"playdoh-version":"2.5.0"},"6.2.0":{"name":"typed-request-client","version":"6.2.0","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"_id":"typed-request-client@6.2.0","maintainers":[{"name":"raynos","email":"raynos2@gmail.com"},{"name":"uber","email":"opensource@uber.com"},{"name":"jwolski","email":"jeff.wolski@gmail.com"},{"name":"sh1mmer","email":"tom.croucher@gmail.com"}],"homepage":"https://github.com/uber/typed-request-client","bugs":{"url":"https://github.com/uber/typed-request-client/issues","email":"raynos2@gmail.com"},"dist":{"shasum":"b7358b35e50d5e3932459a826d1b42fc1914f316","tarball":"https://registry.npmjs.org/typed-request-client/-/typed-request-client-6.2.0.tgz","integrity":"sha512-1YYQaKG12CIaXrmoUll0x73vvAfFZRF3imD3S0CKTeY1N3+cYAQ9OrA4qHr5HrAMMXWN0E+xJe0qBhTDwqSIjg==","signatures":[{"sig":"MEUCIGxXtbYiClw3T6J7T/xFCAUk1qhB0mucR20RLqfIKVggAiEA3ZHI0GfsCt352LXJseVNZZSNBu4GvZ30b2B4icUjOQ0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index","_from":".","engine":{"node":">= 0.8.x"},"_shasum":"b7358b35e50d5e3932459a826d1b42fc1914f316","gitHead":"8b1781cda9841babb87cce1bdbd938869b246d04","scripts":{"test":"npm run jshint -s && npm run cover -s","cover":"istanbul cover --report html --print detail test/index.js && istanbul check-coverage --lines=100 --branches=100","jshint":"lint-trap","travis":"npm run cover -s && istanbul report lcov && ((cat coverage/lcov.info | coveralls) || exit 0)","fast-test":"npm run cover -s","view-cover":"istanbul report html && opn ./coverage/index.html","jshint-pre-commit":"jshint --verbose $(git diff --cached --name-only --diff-filter=ACMRTUXB | grep '\\.js$')"},"_npmUser":{"name":"uber","email":"opensource@uber.com"},"licenses":[{"url":"http://github.com/uber/typed-request-client/raw/master/LICENSE","type":"MIT"}],"pre-commit":["jshint-pre-commit","fast-test"],"repository":{"url":"git://github.com/uber/typed-request-client.git","type":"git"},"_npmVersion":"2.14.2","description":"Make HTTP requests using TypedRequest and TypedResponse objects.","directories":{},"_nodeVersion":"0.10.32","dependencies":{"glob":"^4.0.5","error":"^4.1.1","xtend":"^4.0.0","airlock":"^2.1.0","enchain":"0.0.1","request":"^2.44.0","jayschema":"^0.3.1","uber-json-schema-filter":"^2.0.2","jayschema-error-messages":"^1.0.2"},"devDependencies":{"opn":"^0.1.2","body":"^4.5.0","jscs":"^1.6.2","tape":"^3.0.0","jshint":"^2.5.0","istanbul":"^0.3.13","tap-spec":"^0.1.8","coveralls":"^2.10.0","lint-trap":"^1.0.1","send-data":"^3.3.3","pre-commit":"0.0.5","format-stack":"^2.0.0"},"playdoh-version":"2.5.0"},"6.2.1":{"name":"typed-request-client","version":"6.2.1","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"_id":"typed-request-client@6.2.1","maintainers":[{"name":"jwolski","email":"jeff.wolski@gmail.com"},{"name":"raynos","email":"raynos2@gmail.com"},{"name":"sh1mmer","email":"tom.croucher@gmail.com"},{"name":"uber","email":"opensource@uber.com"},{"name":"zhijin","email":"lizhijin1987@gmail.com"}],"homepage":"https://github.com/uber/typed-request-client","bugs":{"url":"https://github.com/uber/typed-request-client/issues","email":"raynos2@gmail.com"},"dist":{"shasum":"232435426d08f6eb131c9f2e25c1dfde7cc3dc70","tarball":"https://registry.npmjs.org/typed-request-client/-/typed-request-client-6.2.1.tgz","integrity":"sha512-W4fhhv3SI3KkzHZV7K3Dlz1aIoqAlKt+amBJapWgjdf+pbL9lV7quP1oX6MtNuSFxUgcK8+0x2AfC5eCTS284Q==","signatures":[{"sig":"MEQCIEQEp+8dkDOqMTQogl27uBFiIBYdq2aPxpsNXzFJBJo1AiBwQa+GoqbY82DcWJSRrJW/H596M9nshzNA+7XASJxWvg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index","_from":".","engine":{"node":">= 0.8.x"},"_shasum":"232435426d08f6eb131c9f2e25c1dfde7cc3dc70","gitHead":"ebdf9c925e1b8b5d909a16322d39e92e3fd48da5","scripts":{"test":"npm run jshint -s && npm run cover -s","cover":"istanbul cover --report html --print detail test/index.js && istanbul check-coverage --lines=100 --branches=100","jshint":"lint-trap","travis":"npm run cover -s && istanbul report lcov && ((cat coverage/lcov.info | coveralls) || exit 0)","fast-test":"npm run cover -s","view-cover":"istanbul report html && opn ./coverage/index.html","jshint-pre-commit":"jshint --verbose $(git diff --cached --name-only --diff-filter=ACMRTUXB | grep '\\.js$')"},"_npmUser":{"name":"zhijin","email":"lizhijin1987@gmail.com"},"licenses":[{"url":"http://github.com/uber/typed-request-client/raw/master/LICENSE","type":"MIT"}],"pre-commit":["jshint-pre-commit","fast-test"],"repository":{"url":"git://github.com/uber/typed-request-client.git","type":"git"},"_npmVersion":"2.9.1","description":"Make HTTP requests using TypedRequest and TypedResponse objects.","directories":{},"_nodeVersion":"0.10.32","dependencies":{"glob":"^4.0.5","error":"^4.1.1","xtend":"^4.0.0","airlock":"^2.1.2","enchain":"0.0.1","request":"^2.44.0","jayschema":"^0.3.1","uber-json-schema-filter":"^2.0.2","jayschema-error-messages":"^1.0.2"},"devDependencies":{"opn":"^0.1.2","body":"^4.5.0","jscs":"^1.6.2","tape":"^3.0.0","jshint":"^2.5.0","istanbul":"^0.3.13","tap-spec":"^0.1.8","coveralls":"^2.10.0","lint-trap":"^1.0.1","send-data":"^3.3.3","pre-commit":"0.0.5","format-stack":"^2.0.0"},"playdoh-version":"2.5.0","_npmOperationalInternal":{"tmp":"tmp/typed-request-client-6.2.1.tgz_1459298715283_0.838348132558167","host":"packages-12-west.internal.npmjs.com"}},"6.2.2":{"name":"typed-request-client","version":"6.2.2","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"_id":"typed-request-client@6.2.2","maintainers":[{"name":"jwolski","email":"jeff.wolski@gmail.com"},{"name":"raynos","email":"raynos2@gmail.com"},{"name":"sh1mmer","email":"tom.croucher@gmail.com"},{"name":"uber","email":"opensource@uber.com"},{"name":"zhijin","email":"lizhijin1987@gmail.com"}],"homepage":"https://github.com/uber/typed-request-client","bugs":{"url":"https://github.com/uber/typed-request-client/issues","email":"raynos2@gmail.com"},"dist":{"shasum":"5b5647937d1a208e0784815713a01a3ff523ab46","tarball":"https://registry.npmjs.org/typed-request-client/-/typed-request-client-6.2.2.tgz","integrity":"sha512-3PupKT1UuyrAfnXApa5BCDpuF/dpvWMTwLELRjVcR0kQnrvh9h+O/FxL7pco7pBwVxPPsa861nYVM/RKdT/dAw==","signatures":[{"sig":"MEUCID0bPXossp+vTvhDe/5j6TDv2B1lGxj9Df+4TVe6qP9kAiEA/2g5m6RgPMvy9fdQT8rVlubEKeJwgNQ07GlHIhLPX60=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index","_from":".","engine":{"node":">= 0.8.x"},"_shasum":"5b5647937d1a208e0784815713a01a3ff523ab46","gitHead":"9e47df6233b1f452167455aa1f44c13ad6f4c210","scripts":{"test":"npm run jshint -s && npm run cover -s","cover":"istanbul cover --report html --print detail test/index.js && istanbul check-coverage --lines=100 --branches=100","jshint":"lint-trap","travis":"npm run cover -s && istanbul report lcov && ((cat coverage/lcov.info | coveralls) || exit 0)","fast-test":"npm run cover -s","view-cover":"istanbul report html && opn ./coverage/index.html","jshint-pre-commit":"jshint --verbose $(git diff --cached --name-only --diff-filter=ACMRTUXB | grep '\\.js$')"},"_npmUser":{"name":"zhijin","email":"lizhijin1987@gmail.com"},"licenses":[{"url":"http://github.com/uber/typed-request-client/raw/master/LICENSE","type":"MIT"}],"pre-commit":["jshint-pre-commit","fast-test"],"repository":{"url":"git://github.com/uber/typed-request-client.git","type":"git"},"_npmVersion":"2.11.3","description":"Make HTTP requests using TypedRequest and TypedResponse objects.","directories":{},"_nodeVersion":"0.10.32","dependencies":{"glob":"^4.0.5","error":"^4.1.1","xtend":"^4.0.0","airlock":"^2.1.2","enchain":"0.0.1","request":"^2.44.0","jayschema":"^0.3.1","uber-json-schema-filter":"^2.0.2","jayschema-error-messages":"^1.0.2"},"devDependencies":{"opn":"^0.1.2","body":"^4.5.0","jscs":"^1.6.2","tape":"^3.0.0","jshint":"^2.5.0","istanbul":"^0.3.13","tap-spec":"^0.1.8","coveralls":"^2.10.0","lint-trap":"^1.0.1","send-data":"^3.3.3","pre-commit":"0.0.5","format-stack":"^2.0.0"},"playdoh-version":"2.5.0","_npmOperationalInternal":{"tmp":"tmp/typed-request-client-6.2.2.tgz_1461030085974_0.19037669408135116","host":"packages-16-east.internal.npmjs.com"}},"6.2.3":{"name":"typed-request-client","version":"6.2.3","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"_id":"typed-request-client@6.2.3","maintainers":[{"name":"jwolski","email":"jeff.wolski@gmail.com"},{"name":"raynos","email":"raynos2@gmail.com"},{"name":"sh1mmer","email":"tom.croucher@gmail.com"},{"name":"uber","email":"opensource@uber.com"},{"name":"zhijin","email":"lizhijin1987@gmail.com"}],"homepage":"https://github.com/uber/typed-request-client","bugs":{"url":"https://github.com/uber/typed-request-client/issues","email":"raynos2@gmail.com"},"dist":{"shasum":"84838ae86f731fc2148475b889190b513d022450","tarball":"https://registry.npmjs.org/typed-request-client/-/typed-request-client-6.2.3.tgz","integrity":"sha512-8Hj8Gg8WjnspBMYuBo41+izCb3OXrcTcbC6+ttS6OhNyRtBt+FMd5zcx/3c1CwGfzhq8jPUwE1/3gx06mhNZMQ==","signatures":[{"sig":"MEUCIQC+1qxHuhaJLzJniY8GxCVawvH8FTN5vllfjLRQHLkPLwIgYnH1F90fLSzracCbFWUPnQjXNzzYFA00zr3gES7IjQk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index","_from":".","engine":{"node":">= 0.8.x"},"_shasum":"84838ae86f731fc2148475b889190b513d022450","gitHead":"a7bea2ea37ef92ffd2e3481b4fdfb403e91eba7a","scripts":{"test":"npm run jshint -s && npm run cover -s","cover":"istanbul cover --report html --print detail test/index.js && istanbul check-coverage --lines=100 --branches=100","jshint":"lint-trap","travis":"npm run cover -s && istanbul report lcov && ((cat coverage/lcov.info | coveralls) || exit 0)","fast-test":"npm run cover -s","view-cover":"istanbul report html && opn ./coverage/index.html","jshint-pre-commit":"jshint --verbose $(git diff --cached --name-only --diff-filter=ACMRTUXB | grep '\\.js$')"},"_npmUser":{"name":"uber","email":"opensource@uber.com"},"licenses":[{"url":"http://github.com/uber/typed-request-client/raw/master/LICENSE","type":"MIT"}],"pre-commit":["jshint-pre-commit","fast-test"],"repository":{"url":"git://github.com/uber/typed-request-client.git","type":"git"},"_npmVersion":"2.14.2","description":"Make HTTP requests using TypedRequest and TypedResponse objects.","directories":{},"_nodeVersion":"0.10.32","dependencies":{"glob":"^4.0.5","error":"^4.1.1","xtend":"^4.0.0","airlock":"^2.1.2","enchain":"0.0.1","request":"^2.44.0","jayschema":"^0.3.1","uber-json-schema-filter":"^2.0.3","jayschema-error-messages":"^1.0.2"},"devDependencies":{"opn":"^0.1.2","body":"^4.5.0","jscs":"^1.6.2","tape":"^3.0.0","jshint":"^2.5.0","istanbul":"^0.3.13","tap-spec":"^0.1.8","coveralls":"^2.10.0","lint-trap":"^1.0.1","send-data":"^3.3.3","pre-commit":"0.0.5","format-stack":"^2.0.0"},"playdoh-version":"2.5.0","_npmOperationalInternal":{"tmp":"tmp/typed-request-client-6.2.3.tgz_1488588681615_0.04864797554910183","host":"packages-12-west.internal.npmjs.com"}},"6.2.4":{"name":"typed-request-client","version":"6.2.4","keywords":[],"author":{"name":"Raynos","email":"raynos2@gmail.com"},"_id":"typed-request-client@6.2.4","maintainers":[{"name":"jwolski","email":"jeff.wolski@gmail.com"},{"name":"raynos","email":"raynos2@gmail.com"},{"name":"sh1mmer","email":"tom.croucher@gmail.com"},{"name":"uber","email":"opensource@uber.com"},{"name":"zhijin","email":"lizhijin1987@gmail.com"}],"homepage":"https://github.com/uber/typed-request-client","bugs":{"url":"https://github.com/uber/typed-request-client/issues","email":"raynos2@gmail.com"},"dist":{"shasum":"2e857ba1d74e4e54e7e20be34d64e279822b0fc0","tarball":"https://registry.npmjs.org/typed-request-client/-/typed-request-client-6.2.4.tgz","integrity":"sha512-AnXT0YbFk1jPWpXSDEg18Or7yVPJ9DMLa/HGwdlB2wVhkbb5dhYSnEwRiGSzL99szxkzlInJ4koXmCdv2WI2nw==","signatures":[{"sig":"MEQCIFDSW4vBq37rLQ8sb5DwuY+svL1lEcxMmHr1wsWGErvtAiAnH025e1EoWVt2NeEjY4Q7Lrwe1sq3pZsCYFptUkXGnQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index","_from":".","engine":{"node":">= 0.8.x"},"_shasum":"2e857ba1d74e4e54e7e20be34d64e279822b0fc0","gitHead":"fea65cf182f868780d1449b078dd44869fc64d64","scripts":{"test":"npm run jshint -s && npm run cover -s","cover":"istanbul cover --report html --print detail test/index.js && istanbul check-coverage --lines=100 --branches=100","jshint":"lint-trap","travis":"npm run cover -s && istanbul report lcov && ((cat coverage/lcov.info | coveralls) || exit 0)","fast-test":"npm run cover -s","view-cover":"istanbul report html && opn ./coverage/index.html","jshint-pre-commit":"jshint --verbose $(git diff --cached --name-only --diff-filter=ACMRTUXB | grep '\\.js$')"},"_npmUser":{"name":"uber","email":"opensource@uber.com"},"licenses":[{"url":"http://github.com/uber/typed-request-client/raw/master/LICENSE","type":"MIT"}],"pre-commit":["jshint-pre-commit","fast-test"],"repository":{"url":"git://github.com/uber/typed-request-client.git","type":"git"},"_npmVersion":"2.11.3","description":"Make HTTP requests using TypedRequest and TypedResponse objects.","directories":{},"_nodeVersion":"0.10.32","dependencies":{"glob":"^4.0.5","error":"^4.1.1","xtend":"^4.0.0","airlock":"^2.1.2","enchain":"0.0.1","request":"^2.44.0","jayschema":"^0.3.1","uber-json-schema-filter":"^2.0.3","jayschema-error-messages":"^1.0.2"},"devDependencies":{"opn":"^0.1.2","body":"^4.5.0","jscs":"^1.6.2","tape":"^3.0.0","jshint":"^2.5.0","istanbul":"^0.3.13","tap-spec":"^0.1.8","coveralls":"^2.10.0","lint-trap":"^1.0.1","send-data":"^3.3.3","pre-commit":"0.0.5","format-stack":"^2.0.0"},"playdoh-version":"2.5.0","_npmOperationalInternal":{"tmp":"tmp/typed-request-client-6.2.4.tgz_1495044995468_0.37572975386865437","host":"packages-18-east.internal.npmjs.com"}}},"time":{"created":"2014-10-27T16:52:11.176Z","modified":"2024-07-30T23:44:14.767Z","3.0.1":"2014-10-27T16:52:11.176Z","4.0.0":"2014-11-20T00:18:54.670Z","4.0.1":"2015-01-16T23:43:20.823Z","4.0.2":"2015-01-20T21:10:07.556Z","4.0.3":"2015-01-29T01:08:05.249Z","4.1.0":"2015-02-11T03:33:21.590Z","4.1.1":"2015-02-12T03:39:51.408Z","4.1.2":"2015-02-18T07:00:52.019Z","6.0.0":"2015-04-02T17:52:57.085Z","6.1.0":"2015-06-18T19:05:24.132Z","6.2.0":"2016-01-11T19:34:27.906Z","6.2.1":"2016-03-30T00:45:15.721Z","6.2.2":"2016-04-19T01:41:28.539Z","6.2.3":"2017-03-04T00:51:21.875Z","6.2.4":"2017-05-17T18:16:37.270Z"},"bugs":{"url":"https://github.com/uber/typed-request-client/issues","email":"raynos2@gmail.com"},"author":{"name":"Raynos","email":"raynos2@gmail.com"},"homepage":"https://github.com/uber/typed-request-client","keywords":[],"repository":{"url":"git://github.com/uber/typed-request-client.git","type":"git"},"description":"Make HTTP requests using TypedRequest and TypedResponse objects.","maintainers":[{"email":"andrew.mager@gmail.com","name":"mager"},{"email":"ryan.j.tsao@gmail.com","name":"rtsao"},{"email":"siarhei@uber.com","name":"usiarhei"},{"email":"kennsmacintosh@gmail.com","name":"kenns29"},{"email":"shengs@uber.com","name":"shengs"},{"email":"emrahseker@gmail.com","name":"emrahs"},{"email":"zack@kirsch.org","name":"zacklk"},{"email":"ospo@uber.com","name":"uber-ospo"},{"email":"tom.croucher@gmail.com","name":"sh1mmer"},{"email":"jeff.wolski@gmail.com","name":"jwolski"},{"email":"raynos2@gmail.com","name":"raynos"},{"email":"lizhijin1987@gmail.com","name":"zhijin"}],"readme":"# typed-request-client\n\nMake HTTP requests using TypedRequest and TypedResponse objects.\n\n## Example\n\n```js\nvar TypedRequestClient = require('typed-request-client');\nvar Statsd = require('lynx');\n\nvar statsd = Statsd({\n    host: 'localhost',\n    port: 6379\n});\n\nvar request = TypedRequestClient({\n    clientName: 'my-client',\n    statsd: statsd\n});\n\nvar typedRequest = {\n    url: 'http://localhost:9000/',\n    method: 'GET',\n    headers: {},\n    body: { userId: '42' }\n};\n\nrequest(typedRequest, {\n    requestSchema: someJSONSchemaForRequest,\n    responseSchema: someJSONSchemaForResponse,\n    resource: '.read'\n}, function (err, typedResponse) {\n    // if an IO err happened then err\n\n    // typedResponse is a plain object with\n    //  - statusCode (number)\n    //  - httpVersion (string)\n    //  - headers (object)\n    //  - body (object)\n});\n```\n\n## Scope\n\nThe `typed-request-client` module will do the following for you:\n\n - Make HTTP client requests using `TypedRequest` and\n    `TypedResponse` interfaces.\n - Wrap your HTTP client request in a `Prober` using the\n    `airlock` module.\n - Validate the `TypedRequest` and `TypedResponse` as per the\n    supplied `requestSchema` and `responseSchema`.\n - Add statsd integration to your service, it will write four\n    different keys, `increment:request`, `timing:request-time`,\n    `increment:statusCode`, `timing:total-time`\n\n## Docs\n\n### `var makeReq = TypedRequestClient(opts)`\n\nTo create a TypedRequestClient you must pass a number of options.\n\nWhen you create one it will return a `makeReq` function you can call.\n\n#### `opts.clientName`\n\nYou must pass a `clientName` into the `TypedRequestClient`. This\n    will be a name used the statsd events being emitted.\n\nThis means you should pick a name you want to use for statsd.\n\n#### `opts.statsd`\n\nYou must pass in a working `statsd` client. A statsd client is\n    required since the `TypedRequestClient` must output statsd.\n\nA valid statsd client has at least two methods:\n\n - `statsd.increment(listOfKeys)`\n - `statsd.timing(listsOfKeys, numericTimeDelta)`\n\n#### `opts.request`\n\nYou can optionally pass in a different `request` function. This\n    will default to `mikeal/request` from npm if you do not pass\n    one in.\n\n#### `opts.now`\n\nYou can optionally pass in a different `now` function. This\n    will default to `Date.now()` from ES5 if you do not pass one\n    in.\n\n### `makeReq(typedRequest, options, callback)`\n\nThe function returned from `TypedRequestClient` allows you to\n    make typed requests to a server.\n\nThe `makeReq` interface is purposefully low level and kept\n    simple. You must supply all information.\n\n#### `typedRequest`\n\nThe first argument is the `typedRequest` you want to make.\n\n```jsig\ntype TypedRequest : {\n    url: String,\n    method?: \"OPTIONS\" | \"GET\" | \"HEAD\" | \"POST\" | \"PUT\" |\n        \"DELETE\" | \"TRACE\" | \"PATCH\",\n    query?: Object<String, String>,\n    headers?: Object<String, String>,\n    body?: Any\n}\n\n```\n\nA `TypedRequest` is a plain javascript object that looks similar\n    to a `HttpRequest` from node core, however it is not a stream.\n\nThe `url` property must be a valid full URI including host & port\n\nThe `method` property must be a valid HTTP method. It will\n    default to the `\"GET\"` HTTP method.\n\nThe `query` property is an optional object you can pass. It will\n    be serialized to a string using the `querystring` module\n    and correctly appended to the url you passed.\n\nIf you pass a `query` ensure that there are no querystring\n    parameters on the `url`.\n\nThe `headers` property is an optional object of headers. If you\n    pass any headers then they will be used as part of the\n    outgoing HTTP request.\n\nThe `body` property is an optional javascript object to send\n    as part of the HTTP request. If set to valid JSON then the\n    `makeReq` function will send your value as a JSON encoded\n    string as part of the outgoing HTTP request.\n\n#### `options`\n\nThe second argument is `options` and it is required.\n\n```jsig\ntype HandlerOptions : {\n    requestSchema: JSONSchema,\n    responseSchema: JSONSchema,\n    resource: String\n}\n```\n\nYou must specifiy a `requestSchema` which must be a valid\n    JSONSchema object.\n\nThis will be used to validate the `typedRequest` argument.\n\nFeel free to look at [integration tests](test/integration.js)\n    for an example of a valid requestSchema.\n\nYou must specify a `responseSchema` which must be a valid\n    JSONSchema object.\n\nThis will be used to validate the `typedResponse` argument\n    coming out of the callback from the outgoing HTTP request.\n\nYou must specify a `resource` name which must be a string and\n    will be used when emitting stats events.\n\n#### `callback(error, typedResponse)`\n\nThe `callback` to `makeReq` is the third and final argument. It\n    will get called with an `Error` or a `TypedResponse`.\n\nIf you get an `Error` then that's either an IO error or a\n    validation error.\n\nIf you get a `typedResponse` then that will look like:\n\n```jsig\ntype TypedResponse : {\n    httpVersion: String,\n    statusCode: Number,\n    headers: Object<String, String>\n    body?: Any\n}\n```\n\nThe `typedResponse` will have a `httpVersion` field that is the\n    version of HTTP used.\n\nThe `typedResponse` will have a `statusCode` field that is the\n    statusCode of response to the outgoing HTTP request.\n\nThe `typedResponse` will have a `headers` field that is an\n    object of heeaders returned by the outgoing HTTP request.\n\nThe `body` will be the HTTP body of the HTTP response.\n\n## Extending\n\nThe typed request client as exported by `typed-request-client` uses a default\nstack of configurable adapters.\nThese can be customized.\nEach of these layers is exported by various modules under `adapters` and can be\ncoposed as a pipeline as exported by `make-typed-request/adapt`.\n\n```js\nvar adapt = require('make-typed-request/adapt');\nfunction MyTypedRequestClient(options) {\n    return adapt()\n        .probing(options)\n        .statsdMeasure(options, 'requestTime')\n        .statsdReportStatusCode(options)\n        .validating(options)\n        .statsdReportRequestMade(options)\n        .statsdMeasure(options, 'totalTime')\n        .statsd(options)\n        .valueOf();\n}\n```\n\nWe use the `enchain` module to create fluent interfaces based on a collection\nof adapter methods.\nThis layer can be bypassed.\n\n```js\nvar TypedRequestClient = require('make-typed-request/make-typed-request');\nvar Validating = require('make-typed-request/adapters/validating');\nvar MyTypedRequestClient = Validating(TypedRequestClient, {});\n```\n\nAdditional client adapters can be made as functions that accept a client as\ntheir first argument and return a decorated client.\nBy convention we pass a shared `options` object through every adapter, but\nfurther arguments may be adapter instance specific.\n\n```js\nfunction MyAdapter(client, options, myArgument) {\n    return myClient;\n    function myClient(request, shared, respond) {\n        // Intercept request\n        client(request, shared, onResponse);\n        function onResponse(error, response) {\n            // Observe progress\n            if (error) { respond(error); }\n            // Intercept response\n            respond(null, response);\n        }\n    }\n}\n```\n\nYou can then create your own adapter chain vocabulary with `enchain`.\nAll of the adapters that this package provides are exported as a single object\nfrom `typed-request-client/adapters`, that you may mix into your own chains.\n\n```js\nvar enchain = require('enchain');\nvar adapt = enchain({\n    validating: require('make-typed-request/adapters').validating,\n    // etc\n    myAdapter: require('./my-adapter')\n});\nvar TypedRequestClient = require('make-typed-request/make-typed-request');\nvar options = {\n    requestSchema: someJSONSchemaForRequest,\n    responseSchema: someJSONSchemaForResponse\n};\nvar MyTypedRequestClient = adapt(TypedRequestClient)\n    .myAdapter(options, myArgument)\n    .validating(options)\n    .valueOf()\n```\n\n## Installation\n\n`npm install typed-request-client`\n\n## Tests\n\n`npm test`\n\n## Contributors\n\n - Raynos\n - Kris Kowal\n\n## MIT Licenced\n\n","readmeFilename":"README.md"}