{"_id":"popsicle-retry","_rev":"454554","name":"popsicle-retry","description":"Enable request retry for Popsicle","dist-tags":{"latest":"4.1.0"},"maintainers":[{"name":"blakeembrey","email":"hello@blakeembrey.com"}],"time":{"modified":"2021-08-05T07:17:58.000Z","created":"2016-02-10T03:43:43.478Z","4.1.0":"2019-11-06T05:26:02.096Z","4.0.0":"2019-06-09T22:19:16.728Z","3.2.1":"2016-06-20T17:41:20.066Z","3.2.0":"2016-06-15T17:34:04.411Z","3.1.0":"2016-05-08T19:01:20.780Z","3.0.1":"2016-05-08T05:25:38.943Z","3.0.0":"2016-05-08T05:10:41.023Z","2.0.0":"2016-04-04T00:05:01.870Z","1.0.1":"2016-02-10T03:48:17.182Z","1.0.0":"2016-02-10T03:43:43.478Z"},"users":{},"author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"repository":{"type":"git","url":"git://github.com/serviejs/popsicle-retry.git"},"versions":{"4.1.0":{"name":"popsicle-retry","version":"4.1.0","description":"Enable request retry for Popsicle","main":"dist/index.js","scripts":{"prettier":"prettier --write","lint":"tslint \"src/**/*.ts\" --project tsconfig.json","format":"npm run prettier -- README.md \"{.,src/**}/*.{js,jsx,ts,tsx,md,yml,yaml}\"","build":"rimraf dist && tsc","specs":"jest --coverage","test":"npm run -s lint && npm run -s build && npm run -s specs && npm run -s size","prepare":"npm run build","size":"size-limit"},"repository":{"type":"git","url":"git://github.com/serviejs/popsicle-retry.git"},"keywords":["popsicle","retry","fail","5xx","error","http"],"author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"license":"Apache-2.0","bugs":{"url":"https://github.com/serviejs/popsicle-retry/issues"},"homepage":"https://github.com/serviejs/popsicle-retry","size-limit":[{"path":"./dist/index.js","limit":"1 kB"}],"jest":{"roots":["<rootDir>/src/"],"transform":{"\\.tsx?$":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$","moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,jsx,ts,tsx,md,yml,yaml}":["npm run prettier","git add"]},"publishConfig":{"access":"public"},"peerDependencies":{"servie":"^4.0.0"},"devDependencies":{"@size-limit/preset-small-lib":"^2.1.6","@types/jest":"^24.0.13","husky":"^3.0.9","jest":"^24.8.0","lint-staged":"^9.4.2","prettier":"^1.18.2","servie":"^4.0.7","ts-jest":"^24.0.2","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","tslint-config-standard":"^9.0.0","typescript":"^3.5.1"},"gitHead":"855f3e03c947c76548c95e0639c7f43f38c84ff8","_id":"popsicle-retry@4.1.0","_nodeVersion":"13.0.1","_npmVersion":"6.9.0","dist":{"shasum":"2902cfc06a94b7a7e0d0f0dd60af92d49f9d0cb3","size":4779,"noattachment":false,"key":"/popsicle-retry/-/popsicle-retry-4.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/popsicle-retry/download/popsicle-retry-4.1.0.tgz"},"maintainers":[{"name":"blakeembrey","email":"hello@blakeembrey.com"}],"_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/popsicle-retry_4.1.0_1573017961965_0.4393187770769831"},"_hasShrinkwrap":false,"publish_time":1573017962096,"_cnpm_publish_time":1573017962096},"4.0.0":{"name":"popsicle-retry","version":"4.0.0","description":"Enable request retry for Popsicle","main":"dist/index.js","scripts":{"prettier":"prettier --write","lint":"tslint \"src/**/*.ts\" --project tsconfig.json","format":"npm run prettier -- README.md \"src/**/*.{js,ts}\"","build":"rimraf dist && tsc","specs":"jest --coverage","test":"npm run -s lint && npm run -s build && npm run -s specs && npm run -s size","prepare":"npm run build","size":"size-limit"},"repository":{"type":"git","url":"git://github.com/serviejs/popsicle-retry.git"},"keywords":["popsicle","retry","fail","5xx","error","http"],"author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"license":"Apache-2.0","bugs":{"url":"https://github.com/serviejs/popsicle-retry/issues"},"homepage":"https://github.com/serviejs/popsicle-retry","size-limit":[{"path":"./dist/index.js","limit":"1 kB"}],"jest":{"roots":["<rootDir>/src/"],"transform":{"\\.tsx?$":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$","moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,json,css,md}":["npm run prettier","git add"]},"publishConfig":{"access":"public"},"peerDependencies":{"servie":"^4.0.0"},"devDependencies":{"@types/jest":"^24.0.13","husky":"^2.4.0","jest":"^24.8.0","lint-staged":"^8.2.0","prettier":"^1.18.2","servie":"^4.0.7","size-limit":"^1.3.6","ts-jest":"^24.0.2","tslint":"^5.17.0","tslint-config-prettier":"^1.18.0","tslint-config-standard":"^8.0.1","typescript":"^3.5.1"},"gitHead":"f0a8196c8af85af73dbf3e04ec4e3b73a5dee292","_id":"popsicle-retry@4.0.0","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","dist":{"shasum":"1b4345555891c788e8cd91fb2e0fe3d1cd601e6b","size":4656,"noattachment":false,"key":"/popsicle-retry/-/popsicle-retry-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/popsicle-retry/download/popsicle-retry-4.0.0.tgz"},"maintainers":[{"name":"blakeembrey","email":"hello@blakeembrey.com"}],"_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/popsicle-retry_4.0.0_1560118756600_0.8153613474743531"},"_hasShrinkwrap":false,"publish_time":1560118756728,"_cnpm_publish_time":1560118756728},"3.2.1":{"name":"popsicle-retry","version":"3.2.1","description":"Enable request retries for Popsicle","main":"dist/index.js","files":["dist/","typings.json","LICENSE"],"scripts":{"lint":"tslint \"src/**/*.ts\"","build":"rm -rf dist/ && tsc","test-spec":"blue-tape test/index.js | tap-spec","test-cov":"istanbul cover --print none blue-tape -- test/index.js | tap-spec","test":"npm run lint && npm run build && npm run test-cov","prepublish":"typings install && npm run build"},"repository":{"type":"git","url":"git://github.com/blakeembrey/popsicle-retry.git"},"keywords":["popsicle","retry","fail","5xx","error","http"],"author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"license":"Apache-2.0","bugs":{"url":"https://github.com/blakeembrey/popsicle-retry/issues"},"homepage":"https://github.com/blakeembrey/popsicle-retry","devDependencies":{"blue-tape":"^0.2.0","bluebird":"^3.2.2","express":"^4.13.4","istanbul":"^0.4.2","popsicle":"^6.1.0","tap-spec":"^4.1.1","tslint":"^3.1.1","typescript":"^1.7.3","typings":"^1.2.0"},"dependencies":{"any-promise":"^1.1.0","xtend":"^4.0.1"},"gitHead":"145e5d2c2f9d09c0836d082da8c37ac0e1faabe5","_id":"popsicle-retry@3.2.1","_shasum":"e06e866533b42a7a123eb330cbe63a7cebcba10c","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"dist":{"shasum":"e06e866533b42a7a123eb330cbe63a7cebcba10c","size":3539,"noattachment":false,"key":"/popsicle-retry/-/popsicle-retry-3.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/popsicle-retry/download/popsicle-retry-3.2.1.tgz"},"maintainers":[{"name":"blakeembrey","email":"hello@blakeembrey.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/popsicle-retry-3.2.1.tgz_1466444479612_0.5119327732827514"},"directories":{},"publish_time":1466444480066,"_cnpm_publish_time":1466444480066,"_hasShrinkwrap":false},"3.2.0":{"name":"popsicle-retry","version":"3.2.0","description":"Enable request retries for Popsicle","main":"dist/index.js","files":["dist/","typings.json","LICENSE"],"scripts":{"lint":"tslint \"src/**/*.ts\"","build":"rm -rf dist/ && tsc","test-spec":"blue-tape test/index.js | tap-spec","test-cov":"istanbul cover --print none blue-tape -- test/index.js | tap-spec","test":"npm run lint && npm run build && npm run test-cov","prepublish":"typings install && npm run build"},"repository":{"type":"git","url":"git://github.com/blakeembrey/popsicle-retry.git"},"keywords":["popsicle","retry","fail","5xx","error","http"],"author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"license":"Apache-2.0","bugs":{"url":"https://github.com/blakeembrey/popsicle-retry/issues"},"homepage":"https://github.com/blakeembrey/popsicle-retry","devDependencies":{"blue-tape":"^0.2.0","bluebird":"^3.2.2","express":"^4.13.4","istanbul":"^0.4.2","popsicle":"^6.1.0","tap-spec":"^4.1.1","tslint":"^3.1.1","typescript":"^1.7.3","typings":"^1.2.0"},"dependencies":{"any-promise":"^1.1.0","xtend":"^4.0.1"},"gitHead":"1e3add5d5e075e936bed52231fa76ef09e025b9e","_id":"popsicle-retry@3.2.0","_shasum":"0007c1e58c063e482ba20a44d2b05851dc7c7242","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"dist":{"shasum":"0007c1e58c063e482ba20a44d2b05851dc7c7242","size":3541,"noattachment":false,"key":"/popsicle-retry/-/popsicle-retry-3.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/popsicle-retry/download/popsicle-retry-3.2.0.tgz"},"maintainers":[{"name":"blakeembrey","email":"hello@blakeembrey.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/popsicle-retry-3.2.0.tgz_1466012043706_0.5140440159011632"},"directories":{},"publish_time":1466012044411,"_cnpm_publish_time":1466012044411,"_hasShrinkwrap":false},"3.1.0":{"name":"popsicle-retry","version":"3.1.0","description":"Enable request retries for Popsicle","main":"dist/index.js","files":["dist/","typings.json","LICENSE"],"scripts":{"lint":"tslint \"src/**/*.ts\"","build":"rm -rf dist/ && tsc","test-spec":"blue-tape test/index.js | tap-spec","test-cov":"istanbul cover --print none blue-tape -- test/index.js | tap-spec","test":"npm run lint && npm run build && npm run test-cov","prepublish":"typings install && npm run build"},"repository":{"type":"git","url":"git://github.com/blakeembrey/popsicle-retry.git"},"keywords":["popsicle","retry","fail","5xx","error","http"],"author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"license":"Apache-2.0","bugs":{"url":"https://github.com/blakeembrey/popsicle-retry/issues"},"homepage":"https://github.com/blakeembrey/popsicle-retry","devDependencies":{"blue-tape":"^0.2.0","bluebird":"^3.2.2","express":"^4.13.4","istanbul":"^0.4.2","popsicle":"^6.1.0","tap-spec":"^4.1.1","tslint":"^3.1.1","typescript":"^1.7.3","typings":"^0.8.1"},"dependencies":{"any-promise":"^1.1.0","xtend":"^4.0.1"},"gitHead":"c847b53c11114948a9fcfdda31b33ef2e67d958a","_id":"popsicle-retry@3.1.0","_shasum":"48e8e61341cce4f65b9c670a66f8262d5c7fccc5","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"dist":{"shasum":"48e8e61341cce4f65b9c670a66f8262d5c7fccc5","size":3348,"noattachment":false,"key":"/popsicle-retry/-/popsicle-retry-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/popsicle-retry/download/popsicle-retry-3.1.0.tgz"},"maintainers":[{"name":"blakeembrey","email":"hello@blakeembrey.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/popsicle-retry-3.1.0.tgz_1462734079668_0.611808103043586"},"directories":{},"publish_time":1462734080780,"_cnpm_publish_time":1462734080780,"_hasShrinkwrap":false},"3.0.1":{"name":"popsicle-retry","version":"3.0.1","description":"Enable request retries for Popsicle","main":"dist/index.js","files":["dist/","typings.json","LICENSE"],"scripts":{"lint":"tslint \"src/**/*.ts\"","build":"rm -rf dist/ && tsc","test-spec":"blue-tape test/index.js | tap-spec","test-cov":"istanbul cover --print none blue-tape -- test/index.js | tap-spec","test":"npm run lint && npm run build && npm run test-cov","prepublish":"typings install && npm run build"},"repository":{"type":"git","url":"git://github.com/blakeembrey/popsicle-retry.git"},"keywords":["popsicle","retry","fail","5xx","error","http"],"author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"license":"Apache-2.0","bugs":{"url":"https://github.com/blakeembrey/popsicle-retry/issues"},"homepage":"https://github.com/blakeembrey/popsicle-retry","devDependencies":{"blue-tape":"^0.2.0","bluebird":"^3.2.2","express":"^4.13.4","istanbul":"^0.4.2","popsicle":"^6.0.0","tap-spec":"^4.1.1","tslint":"^3.1.1","typescript":"^1.7.3","typings":"^0.8.1"},"dependencies":{"any-promise":"^1.1.0","xtend":"^4.0.1"},"gitHead":"de2835fa19320602cf76d64d73786f68db12750b","_id":"popsicle-retry@3.0.1","_shasum":"5b86536c9f0032f51fe825bee28470334f56f11d","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"dist":{"shasum":"5b86536c9f0032f51fe825bee28470334f56f11d","size":3299,"noattachment":false,"key":"/popsicle-retry/-/popsicle-retry-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/popsicle-retry/download/popsicle-retry-3.0.1.tgz"},"maintainers":[{"name":"blakeembrey","email":"hello@blakeembrey.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/popsicle-retry-3.0.1.tgz_1462685136346_0.5898243898991495"},"directories":{},"publish_time":1462685138943,"_cnpm_publish_time":1462685138943,"_hasShrinkwrap":false},"3.0.0":{"name":"popsicle-retry","version":"3.0.0","description":"Enable request retries for Popsicle","main":"dist/index.js","files":["dist/","typings.json","LICENSE"],"scripts":{"lint":"tslint \"src/**/*.ts\"","build":"rm -rf dist/ && tsc","test-spec":"blue-tape test/index.js | tap-spec","test-cov":"istanbul cover --print none blue-tape -- test/index.js | tap-spec","test":"npm run lint && npm run build && npm run test-cov","prepublish":"typings install && npm run build"},"repository":{"type":"git","url":"git://github.com/blakeembrey/popsicle-retry.git"},"keywords":["popsicle","retry","fail","5xx","error","http"],"author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"license":"Apache-2.0","bugs":{"url":"https://github.com/blakeembrey/popsicle-retry/issues"},"homepage":"https://github.com/blakeembrey/popsicle-retry","devDependencies":{"blue-tape":"^0.2.0","bluebird":"^3.2.2","express":"^4.13.4","istanbul":"^0.4.2","popsicle":"^6.0.0","tap-spec":"^4.1.1","tslint":"^3.1.1","typescript":"^1.7.3","typings":"^0.8.1"},"dependencies":{"any-promise":"^1.1.0","xtend":"^4.0.1"},"gitHead":"89f5b0c379e5d053fafc20883e006a51652d9b1c","_id":"popsicle-retry@3.0.0","_shasum":"64399bd80bce0bbf731e837831baa9835764a643","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"dist":{"shasum":"64399bd80bce0bbf731e837831baa9835764a643","size":3300,"noattachment":false,"key":"/popsicle-retry/-/popsicle-retry-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/popsicle-retry/download/popsicle-retry-3.0.0.tgz"},"maintainers":[{"name":"blakeembrey","email":"hello@blakeembrey.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/popsicle-retry-3.0.0.tgz_1462684238451_0.7648408217355609"},"directories":{},"publish_time":1462684241023,"_cnpm_publish_time":1462684241023,"_hasShrinkwrap":false},"2.0.0":{"name":"popsicle-retry","version":"2.0.0","description":"Enable request retries for Popsicle","main":"dist/index.js","files":["dist/","typings.json","LICENSE"],"scripts":{"lint":"tslint \"src/**/*.ts\"","build":"rm -rf dist/ && tsc","test-spec":"blue-tape test/index.js | tap-spec","test-cov":"istanbul cover --print none blue-tape -- test/index.js | tap-spec","test":"npm run lint && npm run build && npm run test-cov","prepublish":"typings install && npm run build"},"repository":{"type":"git","url":"git://github.com/blakeembrey/popsicle-retry.git"},"keywords":["popsicle","retry","fail","5xx","error","http"],"author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"license":"Apache-2.0","bugs":{"url":"https://github.com/blakeembrey/popsicle-retry/issues"},"homepage":"https://github.com/blakeembrey/popsicle-retry","devDependencies":{"blue-tape":"^0.2.0","bluebird":"^3.2.2","express":"^4.13.4","istanbul":"^0.4.2","popsicle":"^5.0.1","tap-spec":"^4.1.1","tslint":"^3.1.1","typescript":"^1.7.3","typings":"^0.7.11"},"dependencies":{"any-promise":"^1.1.0"},"gitHead":"978d5ef2a94ffba5858b5e479b0404dcd583df3e","_id":"popsicle-retry@2.0.0","_shasum":"a0b44558c7b5064b50e4abd0a059a199b6ad1a5f","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.8.0","_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"dist":{"shasum":"a0b44558c7b5064b50e4abd0a059a199b6ad1a5f","size":3009,"noattachment":false,"key":"/popsicle-retry/-/popsicle-retry-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/popsicle-retry/download/popsicle-retry-2.0.0.tgz"},"maintainers":[{"name":"blakeembrey","email":"hello@blakeembrey.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/popsicle-retry-2.0.0.tgz_1459728301238_0.8547375686466694"},"directories":{},"publish_time":1459728301870,"_cnpm_publish_time":1459728301870,"_hasShrinkwrap":false},"1.0.1":{"name":"popsicle-retry","version":"1.0.1","description":"Enable request retries for Popsicle","main":"dist/index.js","files":["dist/","typings.json","LICENSE"],"scripts":{"lint":"tslint \"src/**/*.ts\"","build":"rm -rf dist/ && tsc","test-spec":"blue-tape test/index.js | tap-spec","test-cov":"istanbul cover --print none blue-tape -- test/index.js | tap-spec","test":"npm run lint && npm run build && npm run test-cov","prepublish":"typings install && npm run build"},"repository":{"type":"git","url":"git://github.com/blakeembrey/popsicle-retry.git"},"keywords":["popsicle","retry","fail","5xx","error","http"],"author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"license":"Apache-2.0","bugs":{"url":"https://github.com/blakeembrey/popsicle-retry/issues"},"homepage":"https://github.com/blakeembrey/popsicle-retry","devDependencies":{"blue-tape":"^0.2.0","bluebird":"^3.2.2","express":"^4.13.4","istanbul":"^0.4.2","popsicle":"^3.2.1","pre-commit":"^1.0.6","tap-spec":"^4.1.1","tslint":"^3.1.1","typescript":"^1.7.3","typings":"^0.6.7"},"dependencies":{"any-promise":"^1.1.0"},"gitHead":"b5c9a70d8ce54902e249f8f927cd285eb7ac4ab5","_id":"popsicle-retry@1.0.1","_shasum":"8079b082d599959668d15fa1241c494f841335f0","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.5.0","_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"dist":{"shasum":"8079b082d599959668d15fa1241c494f841335f0","size":2893,"noattachment":false,"key":"/popsicle-retry/-/popsicle-retry-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/popsicle-retry/download/popsicle-retry-1.0.1.tgz"},"maintainers":[{"name":"blakeembrey","email":"hello@blakeembrey.com"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/popsicle-retry-1.0.1.tgz_1455076094405_0.3244086946360767"},"directories":{},"publish_time":1455076097182,"_cnpm_publish_time":1455076097182,"_hasShrinkwrap":false},"1.0.0":{"name":"popsicle-retry","version":"1.0.0","description":"Enable request retries for Popsicle","main":"dist/index.js","files":["dist/","typings.json","LICENSE"],"scripts":{"lint":"tslint \"src/**/*.ts\"","build":"rm -rf dist/ && tsc","test-spec":"blue-tape test/index.js | tap-spec","test-cov":"istanbul cover --print none blue-tape -- test/index.js | tap-spec","test":"npm run lint && npm run build && npm run test-cov","prepublish":"typings install && npm run build"},"repository":{"type":"git","url":"git://github.com/blakeembrey/popsicle-retry.git"},"keywords":["popsicle","retry","fail","5xx","error","http"],"author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"license":"Apache-2.0","bugs":{"url":"https://github.com/blakeembrey/popsicle-retry/issues"},"homepage":"https://github.com/blakeembrey/popsicle-retry","devDependencies":{"blue-tape":"^0.2.0","express":"^4.13.4","istanbul":"^0.4.2","popsicle":"^3.2.1","pre-commit":"^1.0.6","tap-spec":"^4.1.1","tslint":"^3.1.1","typescript":"^1.7.3","typings":"^0.6.7"},"gitHead":"eaceee18fc5b32fcc6857e7eea73aaa695df6546","_id":"popsicle-retry@1.0.0","_shasum":"ca4b239b3e5bf527c5d253b52c7201809edcd29d","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.5.0","_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"dist":{"shasum":"ca4b239b3e5bf527c5d253b52c7201809edcd29d","size":2869,"noattachment":false,"key":"/popsicle-retry/-/popsicle-retry-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/popsicle-retry/download/popsicle-retry-1.0.0.tgz"},"maintainers":[{"name":"blakeembrey","email":"hello@blakeembrey.com"}],"_npmOperationalInternal":{"host":"packages-6-west.internal.npmjs.com","tmp":"tmp/popsicle-retry-1.0.0.tgz_1455075822065_0.9970940540079027"},"directories":{},"publish_time":1455075823478,"_cnpm_publish_time":1455075823478,"_hasShrinkwrap":false}},"readme":"# Popsicle Retry\n\n[![NPM version][npm-image]][npm-url]\n[![NPM downloads][downloads-image]][downloads-url]\n[![Build status][travis-image]][travis-url]\n[![Test coverage][coveralls-image]][coveralls-url]\n\n> Enable request retry for Popsicle.\n\n## Installation\n\n```\nnpm install popsicle-retry --save\n```\n\n## Usage\n\n```js\nimport { retry } from \"popsicle-retry\";\n\nconst send = retry(transport);\nconst res = await send(req);\n```\n\n### Methods\n\n- **retry(fn, shouldRetry?)** Wraps a request function with retry support. Accepts a second function that returns a delay, or `-1` (default is `retries()`).\n- **retryAllowed(error?, request?)** Check if a request should be retried. Defaults to `5xx` and unavailable errors.\n- **retries(count?, isRetryAllowed?)** An exponential back-off function, defaulting to 3 retries.\n\n## License\n\nApache 2.0\n\n[npm-image]: https://img.shields.io/npm/v/popsicle-retry.svg?style=flat\n[npm-url]: https://npmjs.org/package/popsicle-retry\n[downloads-image]: https://img.shields.io/npm/dm/popsicle-retry.svg?style=flat\n[downloads-url]: https://npmjs.org/package/popsicle-retry\n[travis-image]: https://img.shields.io/travis/serviejs/popsicle-retry.svg?style=flat\n[travis-url]: https://travis-ci.org/serviejs/popsicle-retry\n[coveralls-image]: https://img.shields.io/coveralls/serviejs/popsicle-retry.svg?style=flat\n[coveralls-url]: https://coveralls.io/r/serviejs/popsicle-retry?branch=master\n","_attachments":{},"homepage":"https://github.com/serviejs/popsicle-retry","bugs":{"url":"https://github.com/serviejs/popsicle-retry/issues"},"license":"Apache-2.0"}