{"_id":"request-callback-wrapper","_rev":"9-a53d25a8c592eb55ee44e124f1f3dcb3","name":"request-callback-wrapper","description":"Wraps a callback for request to handle errors, status codes and ECONNREFUSED in a nicer way","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"request-callback-wrapper","version":"1.0.0","description":"Wraps a callback for request to handle errors, status codes and ECONNREFUSED in a nicer way","main":"index.js","scripts":{"test":"node ./tests"},"repository":{"type":"git","url":"https://github.com/MauriceButler/request-callback-wrapper.git"},"author":{"name":"Maurice Butler","email":"maurice.butler@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/MauriceButler/request-callback-wrapper/issues"},"homepage":"https://github.com/MauriceButler/request-callback-wrapper","keywords":["ECONNREFUSED","error","request","callback","wrapper","http","https"],"gitHead":"1b8f5b649d41ed2f2abddae73901663df70b29a0","_id":"request-callback-wrapper@1.0.0","_shasum":"9dec72f734dfc38f4c73e0a1399be590db39429f","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"mauricebutler","email":"maurice.butler@gmail.com"},"maintainers":[{"name":"mauricebutler","email":"maurice.butler@gmail.com"}],"dist":{"shasum":"9dec72f734dfc38f4c73e0a1399be590db39429f","tarball":"https://registry.npmjs.org/request-callback-wrapper/-/request-callback-wrapper-1.0.0.tgz","integrity":"sha512-UFB5lJRALxLHqsiGGi+0xKdARl+R1ub3wj/+pTOLfvCNO0vVRf2XD6zxrI02D+3vB89/wkrcNZuxUTp2UI67hA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID8mg/xDqIot4b+fuc5Q8UvCwoikXmUWdgyzQZrsPG4hAiAJ+RyAzmdgGWrYZcqdZc+OEFvarhi9zxzTRX4NQbJWAQ=="}]}},"1.0.1":{"name":"request-callback-wrapper","version":"1.0.1","description":"Wraps a callback for request to handle errors, status codes and ECONNREFUSED in a nicer way","main":"index.js","scripts":{"test":"node ./tests"},"repository":{"type":"git","url":"https://github.com/MauriceButler/request-callback-wrapper.git"},"author":{"name":"Maurice Butler","email":"maurice.butler@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/MauriceButler/request-callback-wrapper/issues"},"homepage":"https://github.com/MauriceButler/request-callback-wrapper","keywords":["ECONNREFUSED","error","request","callback","wrapper","http","https"],"dependencies":{"get-stack":"^1.0.0"},"gitHead":"3ac8e0372306ca3d07a98f9f984b1f8e7d6abc7c","_id":"request-callback-wrapper@1.0.1","_shasum":"0209328e2f67a3be07b9ee7be08988ba10e0c6ab","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"mauricebutler","email":"maurice.butler@gmail.com"},"maintainers":[{"name":"mauricebutler","email":"maurice.butler@gmail.com"}],"dist":{"shasum":"0209328e2f67a3be07b9ee7be08988ba10e0c6ab","tarball":"https://registry.npmjs.org/request-callback-wrapper/-/request-callback-wrapper-1.0.1.tgz","integrity":"sha512-P0Kza/t11gxEUhl4pGKditFG7myUopP2yOnsXlD+4R2HU13OWAK6o37jK14Mwvy/SEjoxFBSmko3cC+H7JuMxg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYfJEPsNvoMWb6B1u+0HJ+o+UdVLSZ1JHAEWoM5KmxagIgeV+asBbOR7561wo7DDWHKWRfI9IeXk0NrNmbulRhBww="}]}},"1.0.2":{"name":"request-callback-wrapper","version":"1.0.2","description":"Wraps a callback for request to handle errors, status codes and ECONNREFUSED in a nicer way","main":"index.js","scripts":{"test":"node ./tests"},"repository":{"type":"git","url":"https://github.com/MauriceButler/request-callback-wrapper.git"},"author":{"name":"Maurice Butler","email":"maurice.butler@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/MauriceButler/request-callback-wrapper/issues"},"homepage":"https://github.com/MauriceButler/request-callback-wrapper","keywords":["ECONNREFUSED","error","request","callback","wrapper","http","https"],"dependencies":{"get-stack":"^1.0.0"},"devDependencies":{"grape":"^1.0.0"},"gitHead":"495a0f5fa06893dd944739c1e5eb3d9d2a90edc3","_id":"request-callback-wrapper@1.0.2","_shasum":"59b41760d175d16a60885a02bd2249c96908ad12","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"mauricebutler","email":"maurice.butler@gmail.com"},"maintainers":[{"name":"mauricebutler","email":"maurice.butler@gmail.com"}],"dist":{"shasum":"59b41760d175d16a60885a02bd2249c96908ad12","tarball":"https://registry.npmjs.org/request-callback-wrapper/-/request-callback-wrapper-1.0.2.tgz","integrity":"sha512-4rYvxfp5mdUu3TXrrqfKfLyeGnY2WmvZ5hUgF4uxJIRTVhTVRj6E0eAiDsL3mXaggMaN4ToXp2XIuvlet/8LQw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDWzW8PahdlrJ2BvNfr4CusftrU3NlHNRONo1PvuF//+AiB2fKpSZOrBN5PZkUTaQezHbA4tpouwgzdFSEcrR2RzGA=="}]}},"2.0.0":{"name":"request-callback-wrapper","version":"2.0.0","description":"Wraps a callback for request to handle errors, status codes and ECONNREFUSED in a nicer way","main":"index.js","scripts":{"test":"node ./tests"},"repository":{"type":"git","url":"git+https://github.com/MauriceButler/request-callback-wrapper.git"},"author":{"name":"Maurice Butler","email":"maurice.butler@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/MauriceButler/request-callback-wrapper/issues"},"homepage":"https://github.com/MauriceButler/request-callback-wrapper","keywords":["ECONNREFUSED","error","request","callback","wrapper","http","https"],"dependencies":{"generic-errors":"^2.0.0","get-stack":"^1.0.0"},"devDependencies":{"tape":"^4.2.2"},"gitHead":"594ef8ded1ef05abd721f66c5477eebc3f422350","_id":"request-callback-wrapper@2.0.0","_shasum":"447d20bd9b658d0e46c1b34c78e3415f95858573","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"mauricebutler","email":"maurice.butler@gmail.com"},"dist":{"shasum":"447d20bd9b658d0e46c1b34c78e3415f95858573","tarball":"https://registry.npmjs.org/request-callback-wrapper/-/request-callback-wrapper-2.0.0.tgz","integrity":"sha512-n1uXykewwH3or8A3mCI7260yOQIACC7xrDKXaE9wMgAxKOYW7wcWREPK02ygE/kkIG7wcRANKkpeZxz0hryH+w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCq0wXMgItqetltBCi0SuWyUmww5zGDmB1RibjMED5IEwIhAMrcGnoz1XRro+bSQZpGjzlkkLGWe7KbsXJROks2oO+o"}]},"maintainers":[{"name":"mauricebutler","email":"maurice.butler@gmail.com"}]}},"readme":"#request-callback-wrapper\n\nWraps a callback for request to handle errors, status codes and ECONNREFUSED in a nicer way\n\n## Usage\n\n    var wrapCallback = require('request-callback-wrapper'),\n        request = require('request');\n\n    request('/users', wrapCallback(function(error, users){\n            if(error){\n                return console.log(error);\n            }\n\n            console.log(users);\n        })\n    );","maintainers":[{"name":"mauricebutler","email":"maurice.butler@gmail.com"}],"time":{"modified":"2022-06-26T11:29:47.730Z","created":"2014-07-18T03:44:44.005Z","1.0.0":"2014-07-18T03:44:44.005Z","1.0.1":"2014-07-18T04:29:03.517Z","1.0.2":"2014-07-22T06:15:42.641Z","2.0.0":"2015-11-26T23:45:06.157Z"},"homepage":"https://github.com/MauriceButler/request-callback-wrapper","keywords":["ECONNREFUSED","error","request","callback","wrapper","http","https"],"repository":{"type":"git","url":"git+https://github.com/MauriceButler/request-callback-wrapper.git"},"author":{"name":"Maurice Butler","email":"maurice.butler@gmail.com"},"bugs":{"url":"https://github.com/MauriceButler/request-callback-wrapper/issues"},"license":"MIT","readmeFilename":"README.md"}