{"_id":"async-retry","_rev":"544965","name":"async-retry","description":"Retrying made simple, easy and async","dist-tags":{"latest":"1.3.3"},"maintainers":[{"name":"vercel-release-bot","email":""},{"name":"zeit-bot","email":"arunoda@zeit.co"}],"time":{"modified":"2021-08-17T02:15:47.000Z","created":"2016-02-29T18:32:39.129Z","1.3.3":"2021-08-17T02:10:33.288Z","1.3.1":"2020-01-02T18:13:10.433Z","1.3.0":"2020-01-02T10:45:48.077Z","1.2.3":"2018-09-07T12:54:47.822Z","1.2.2":"2018-09-07T09:42:30.158Z","1.2.1":"2018-02-27T16:12:01.235Z","1.2.0":"2018-02-27T15:40:27.985Z","1.1.4":"2017-10-31T22:16:04.762Z","1.1.3":"2017-07-05T07:13:54.577Z","1.1.2":"2017-06-29T12:10:23.426Z","1.1.1":"2017-06-03T15:57:39.424Z","1.1.0":"2017-05-27T22:57:23.962Z","1.0.0":"2017-05-27T21:17:20.192Z","0.3.0":"2017-02-14T22:10:01.416Z","0.2.1":"2016-05-30T21:13:29.375Z","0.2.0":"2016-05-30T20:14:25.123Z","0.1.1":"2016-02-29T18:47:14.434Z","0.1.0":"2016-02-29T18:32:39.129Z"},"users":{"timdp":true,"moimikey":true,"roadlabs":true,"usex":true,"redstrike":true},"repository":{"type":"git","url":"git+https://github.com/vercel/async-retry.git"},"versions":{"1.3.3":{"name":"async-retry","version":"1.3.3","description":"Retrying made simple, easy and async","main":"./lib/index.js","scripts":{"test":"yarn run test-lint && yarn run test-unit","test-lint":"eslint .","test-unit":"ava","lint:staged":"lint-staged"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/vercel/async-retry.git"},"ava":{"failFast":true},"dependencies":{"retry":"0.13.1"},"pre-commit":"lint:staged","lint-staged":{"*.js":["eslint","prettier --write --single-quote","git add"]},"eslintConfig":{"extends":["airbnb","prettier"],"rules":{"no-var":0,"prefer-arrow-callback":0}},"devDependencies":{"ava":"3.15.0","eslint":"7.32.0","eslint-config-airbnb":"18.2.1","eslint-config-prettier":"8.3.0","eslint-plugin-import":"2.24.0","eslint-plugin-jsx-a11y":"6.4.1","eslint-plugin-react":"7.24.0","lint-staged":"11.1.2","node-fetch":"2.6.1","pre-commit":"1.2.2","prettier":"2.3.2","then-sleep":"1.0.1"},"gitHead":"9505be1f829ea297e7aff6c731ca3d5bd7052ed7","bugs":{"url":"https://github.com/vercel/async-retry/issues"},"homepage":"https://github.com/vercel/async-retry#readme","_id":"async-retry@1.3.3","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"shasum":"0e7f36c04d8478e7a58bdbed80cedf977785f280","size":2595,"noattachment":false,"key":"/async-retry/-/async-retry-1.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-retry/download/async-retry-1.3.3.tgz"},"_npmUser":{"name":"leerobinson","email":"lrobinson2011@gmail.com"},"directories":{},"maintainers":[{"name":"vercel-release-bot","email":""},{"name":"zeit-bot","email":"arunoda@zeit.co"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-retry_1.3.3_1629166233172_0.6967964695401219"},"_hasShrinkwrap":false,"publish_time":1629166233288,"_cnpm_publish_time":1629166233288},"1.3.1":{"name":"async-retry","version":"1.3.1","description":"Retrying made simple, easy and async","main":"./lib/index.js","scripts":{"test":"yarn run test-lint && yarn run test-unit","test-lint":"eslint .","test-unit":"ava","lint:staged":"lint-staged"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/zeit/async-retry.git"},"ava":{"failFast":true},"dependencies":{"retry":"0.12.0"},"pre-commit":"lint:staged","lint-staged":{"*.js":["eslint","prettier --write --single-quote","git add"]},"eslintConfig":{"extends":["airbnb","prettier"],"rules":{"no-var":0,"prefer-arrow-callback":0}},"devDependencies":{"ava":"0.25.0","eslint":"5.5.0","eslint-config-airbnb":"17.1.0","eslint-config-prettier":"3.0.1","eslint-plugin-import":"2.14.0","eslint-plugin-jsx-a11y":"6.1.1","eslint-plugin-react":"7.11.1","lint-staged":"7.2.2","node-fetch":"2.2.0","pre-commit":"1.2.2","prettier":"1.14.2","then-sleep":"1.0.1"},"gitHead":"b08d512d05b388f5a02f18bdfc6f905827444ece","bugs":{"url":"https://github.com/zeit/async-retry/issues"},"homepage":"https://github.com/zeit/async-retry#readme","_id":"async-retry@1.3.1","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"shasum":"139f31f8ddce50c0870b0ba558a6079684aaed55","size":2677,"noattachment":false,"key":"/async-retry/-/async-retry-1.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-retry/download/async-retry-1.3.1.tgz"},"maintainers":[{"name":"vercel-release-bot","email":""},{"name":"zeit-bot","email":"arunoda@zeit.co"}],"_npmUser":{"name":"lucleray","email":"luc.leray@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-retry_1.3.1_1577988790341_0.45266791516565896"},"_hasShrinkwrap":false,"publish_time":1577988790433,"_cnpm_publish_time":1577988790433},"1.3.0":{"name":"async-retry","version":"1.3.0","description":"Retrying made simple, easy and async","main":"./lib/index.js","scripts":{"test":"yarn run test-lint && yarn run test-unit","test-lint":"eslint .","test-unit":"ava","lint:staged":"lint-staged"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/zeit/async-retry.git"},"ava":{"failFast":true},"dependencies":{"retry":"0.12.0"},"pre-commit":"lint:staged","lint-staged":{"*.js":["eslint","prettier --write --single-quote","git add"]},"eslintConfig":{"extends":["airbnb","prettier"],"rules":{"no-var":0,"prefer-arrow-callback":0}},"devDependencies":{"ava":"0.25.0","eslint":"5.5.0","eslint-config-airbnb":"17.1.0","eslint-config-prettier":"3.0.1","eslint-plugin-import":"2.14.0","eslint-plugin-jsx-a11y":"6.1.1","eslint-plugin-react":"7.11.1","lint-staged":"7.2.2","node-fetch":"2.2.0","pre-commit":"1.2.2","prettier":"1.14.2","then-sleep":"1.0.1"},"gitHead":"75cb6e0ab9737d861e1628e41d9caaf8c2af2a79","bugs":{"url":"https://github.com/zeit/async-retry/issues"},"homepage":"https://github.com/zeit/async-retry#readme","_id":"async-retry@1.3.0","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"shasum":"053922b8ed2b7f78fc774344572398cba65a400a","size":2673,"noattachment":false,"key":"/async-retry/-/async-retry-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-retry/download/async-retry-1.3.0.tgz"},"maintainers":[{"name":"vercel-release-bot","email":""},{"name":"zeit-bot","email":"arunoda@zeit.co"}],"_npmUser":{"name":"lucleray","email":"luc.leray@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-retry_1.3.0_1577961947967_0.3057225150142464"},"_hasShrinkwrap":false,"publish_time":1577961948077,"_cnpm_publish_time":1577961948077},"1.2.3":{"name":"async-retry","version":"1.2.3","description":"Retrying made simple, easy and async","main":"./lib/index.js","scripts":{"test":"yarn run test-lint && yarn run test-unit","test-lint":"eslint .","test-unit":"ava","lint:staged":"lint-staged"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/zeit/async-retry.git"},"ava":{"failFast":true},"dependencies":{"retry":"0.12.0"},"pre-commit":"lint:staged","lint-staged":{"*.js":["eslint","prettier --write --single-quote","git add"]},"eslintConfig":{"extends":["airbnb","prettier"],"rules":{"no-var":0,"prefer-arrow-callback":0}},"devDependencies":{"ava":"0.25.0","eslint":"5.5.0","eslint-config-airbnb":"17.1.0","eslint-config-prettier":"3.0.1","eslint-plugin-import":"2.14.0","eslint-plugin-jsx-a11y":"6.1.1","eslint-plugin-react":"7.11.1","lint-staged":"7.2.2","node-fetch":"2.2.0","pre-commit":"1.2.2","prettier":"1.14.2","then-sleep":"1.0.1"},"gitHead":"17eb4d23a01dec5d69f905d4da35f02566b05a13","bugs":{"url":"https://github.com/zeit/async-retry/issues"},"homepage":"https://github.com/zeit/async-retry#readme","_id":"async-retry@1.2.3","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"shasum":"a6521f338358d322b1a0012b79030c6f411d1ce0","size":2629,"noattachment":false,"key":"/async-retry/-/async-retry-1.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-retry/download/async-retry-1.2.3.tgz"},"maintainers":[{"name":"vercel-release-bot","email":""},{"name":"zeit-bot","email":"arunoda@zeit.co"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-retry_1.2.3_1536324887592_0.6099952778126327"},"_hasShrinkwrap":false,"publish_time":1536324887822,"_cnpm_publish_time":1536324887822},"1.2.2":{"name":"async-retry","version":"1.2.2","description":"Retrying made simple, easy and async","main":"./lib/index.js","scripts":{"test":"yarn run test-lint && yarn run test-unit","test-lint":"eslint .","test-unit":"ava","lint:staged":"lint-staged"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/zeit/async-retry.git"},"ava":{"failFast":true},"dependencies":{"retry":"0.12.0"},"pre-commit":"lint:staged","lint-staged":{"*.js":["eslint","prettier --write --single-quote","git add"]},"eslintConfig":{"extends":["airbnb","prettier"],"rules":{"no-var":0,"prefer-arrow-callback":0}},"devDependencies":{"ava":"0.25.0","eslint":"5.5.0","eslint-config-airbnb":"17.1.0","eslint-config-prettier":"3.0.1","eslint-plugin-import":"2.14.0","eslint-plugin-jsx-a11y":"6.1.1","eslint-plugin-react":"7.11.1","lint-staged":"7.2.2","node-fetch":"2.2.0","pre-commit":"1.2.2","prettier":"1.14.2","then-sleep":"1.0.1"},"gitHead":"8e5122fec526cf7b2e55a63a668db8dc360208a7","bugs":{"url":"https://github.com/zeit/async-retry/issues"},"homepage":"https://github.com/zeit/async-retry#readme","_id":"async-retry@1.2.2","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"shasum":"a5b35256722c6c4b1ba9b69a74beb39ce18f541d","size":2682,"noattachment":false,"key":"/async-retry/-/async-retry-1.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-retry/download/async-retry-1.2.2.tgz"},"maintainers":[{"name":"vercel-release-bot","email":""},{"name":"zeit-bot","email":"arunoda@zeit.co"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-retry_1.2.2_1536313349778_0.581028550307265"},"_hasShrinkwrap":false,"publish_time":1536313350158,"_cnpm_publish_time":1536313350158},"1.2.1":{"name":"async-retry","version":"1.2.1","description":"Retrying made simple, easy and async","main":"./lib/index.js","scripts":{"test":"xo && ava"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/zeit/async-retry.git"},"ava":{"failFast":true},"xo":{"esnext":true,"space":true,"semicolon":false,"ignores":["examples/**/*"]},"dependencies":{"retry":"0.10.1"},"devDependencies":{"ava":"0.25.0","node-fetch":"2.0.0","then-sleep":"1.0.1","xo":"0.20.3"},"gitHead":"bcc9ed59355145b6733a825031ab1fcd9554b75d","bugs":{"url":"https://github.com/zeit/async-retry/issues"},"homepage":"https://github.com/zeit/async-retry#readme","_id":"async-retry@1.2.1","_npmVersion":"5.6.0","_nodeVersion":"9.6.1","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"shasum":"308c6c4e1d91e63397a4676290334ae9bda7bcb1","size":43853,"noattachment":false,"key":"/async-retry/-/async-retry-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-retry/download/async-retry-1.2.1.tgz"},"maintainers":[{"name":"vercel-release-bot","email":""},{"name":"zeit-bot","email":"arunoda@zeit.co"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-retry_1.2.1_1519747921112_0.0700060700677938"},"_hasShrinkwrap":false,"publish_time":1519747921235,"_cnpm_publish_time":1519747921235},"1.2.0":{"name":"async-retry","version":"1.2.0","description":"Retrying made simple, easy and async","main":"./lib/index.js","scripts":{"test":"xo && ava"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/zeit/async-retry.git"},"ava":{"failFast":true},"xo":{"esnext":true,"space":true,"semicolon":false,"ignores":["examples/**/*"]},"dependencies":{"retry":"0.10.1"},"devDependencies":{"ava":"0.25.0","node-fetch":"2.0.0","then-sleep":"1.0.1","xo":"0.20.3"},"gitHead":"c4c516d6b3736764e9d1aac490a990f0be54d4e0","bugs":{"url":"https://github.com/zeit/async-retry/issues"},"homepage":"https://github.com/zeit/async-retry#readme","_id":"async-retry@1.2.0","_npmVersion":"5.6.0","_nodeVersion":"9.6.1","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"shasum":"a4fdecfb3c056023b98f1e9bb1558268598bdb90","size":43835,"noattachment":false,"key":"/async-retry/-/async-retry-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-retry/download/async-retry-1.2.0.tgz"},"maintainers":[{"name":"vercel-release-bot","email":""},{"name":"zeit-bot","email":"arunoda@zeit.co"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-retry_1.2.0_1519746027881_0.6750165728527415"},"_hasShrinkwrap":false,"publish_time":1519746027985,"_cnpm_publish_time":1519746027985},"1.1.4":{"name":"async-retry","version":"1.1.4","description":"Retrying made simple, easy and async","main":"./lib/index.js","scripts":{"test":"xo && ava"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/zeit/async-retry.git"},"ava":{"failFast":true},"xo":{"esnext":true,"space":true,"semicolon":false,"ignores":["examples/**/*"]},"dependencies":{"retry":"0.10.1"},"devDependencies":{"ava":"0.23.0","node-fetch":"1.7.3","then-sleep":"1.0.1","xo":"0.18.2"},"gitHead":"a696d3670acd122b60f4ef6d76d999f54321939e","bugs":{"url":"https://github.com/zeit/async-retry/issues"},"homepage":"https://github.com/zeit/async-retry#readme","_id":"async-retry@1.1.4","_npmVersion":"5.5.1","_nodeVersion":"8.8.1","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"shasum":"e0edb546600f19bf90f892e9494faa9e19baf190","size":3150,"noattachment":false,"key":"/async-retry/-/async-retry-1.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-retry/download/async-retry-1.1.4.tgz"},"maintainers":[{"name":"vercel-release-bot","email":""},{"name":"zeit-bot","email":"arunoda@zeit.co"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-retry-1.1.4.tgz_1509488163761_0.7721299957484007"},"directories":{},"publish_time":1509488164762,"_hasShrinkwrap":false,"_cnpm_publish_time":1509488164762},"1.1.3":{"name":"async-retry","version":"1.1.3","description":"Retrying made simple, easy and async","main":"./dist/index","files":["dist"],"scripts":{"prebuild":"rm -rf dist && mkdir dist","build":"npm run prebuild && babel lib/index.js > dist/index.js","test":"npm run build && xo && ava","prepublish":"npm run build"},"babel":{"presets":["es2015"]},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/zeit/async-retry.git"},"ava":{"failFast":true},"xo":{"esnext":true,"space":true,"semicolon":false,"ignores":["examples/**/*"]},"dependencies":{"retry":"0.10.1"},"devDependencies":{"ava":"0.18.1","babel-cli":"6.24.1","babel-preset-es2015":"6.24.1","node-fetch":"1.6.3","then-sleep":"1.0.1","xo":"0.17.1"},"gitHead":"9967d9712f63e4958e7e987e560ccc3063aec27f","bugs":{"url":"https://github.com/zeit/async-retry/issues"},"homepage":"https://github.com/zeit/async-retry#readme","_id":"async-retry@1.1.3","_npmVersion":"5.0.4","_nodeVersion":"8.1.3","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"shasum":"1be664783337a0614999d543009a3b6e0de3609d","size":2583,"noattachment":false,"key":"/async-retry/-/async-retry-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-retry/download/async-retry-1.1.3.tgz"},"maintainers":[{"name":"vercel-release-bot","email":""},{"name":"zeit-bot","email":"arunoda@zeit.co"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-retry-1.1.3.tgz_1499238833694_0.9182223938405514"},"directories":{},"publish_time":1499238834577,"_cnpm_publish_time":1499238834577,"_hasShrinkwrap":false},"1.1.2":{"name":"async-retry","version":"1.1.2","description":"Retrying made simple, easy and async","main":"./dist/index","files":["dist"],"scripts":{"prebuild":"rm -rf dist && mkdir dist","build":"npm run prebuild && babel lib/index.js > dist/index.js","test":"npm run build && xo && ava","prepublish":"npm run build"},"babel":{"presets":["es2015"]},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/zeit/async-retry.git"},"ava":{"failFast":true},"xo":{"esnext":true,"space":true,"semicolon":false,"ignores":["examples/**/*"]},"dependencies":{"babel-preset-es2015":"6.24.1","retry":"0.10.1"},"devDependencies":{"ava":"0.18.1","babel-cli":"6.24.1","node-fetch":"1.6.3","then-sleep":"1.0.1","xo":"0.17.1"},"gitHead":"bd9bc51a2613995b3209e5cf6743f501b69f468b","bugs":{"url":"https://github.com/zeit/async-retry/issues"},"homepage":"https://github.com/zeit/async-retry#readme","_id":"async-retry@1.1.2","_shasum":"3dc9844e205fb54c3d1452718f1084a5c8953f41","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"shasum":"3dc9844e205fb54c3d1452718f1084a5c8953f41","size":2581,"noattachment":false,"key":"/async-retry/-/async-retry-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-retry/download/async-retry-1.1.2.tgz"},"maintainers":[{"name":"vercel-release-bot","email":""},{"name":"zeit-bot","email":"arunoda@zeit.co"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-retry-1.1.2.tgz_1498738222474_0.4994281225372106"},"directories":{},"publish_time":1498738223426,"_hasShrinkwrap":false,"_cnpm_publish_time":1498738223426},"1.1.1":{"name":"async-retry","version":"1.1.1","description":"Retrying made simple, easy and async","main":"./dist/index","files":["dist"],"scripts":{"prebuild":"rm -rf dist && mkdir dist","build":"npm run prebuild && babel lib/index.js > dist/index.js","test":"npm run build && xo && ava","prepublish":"npm run build"},"babel":{"presets":["es2015"]},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/zeit/async-retry.git"},"ava":{"failFast":true},"xo":{"esnext":true,"space":true,"semicolon":false,"ignores":["examples/**/*"]},"dependencies":{"babel-preset-es2015":"6.24.1","retry":"0.10.1"},"devDependencies":{"ava":"0.18.1","babel-cli":"6.24.1","node-fetch":"1.6.3","then-sleep":"1.0.1","xo":"0.17.1"},"gitHead":"4da44de3875ae9059f11be29088c746ee1ab7d0b","bugs":{"url":"https://github.com/zeit/async-retry/issues"},"homepage":"https://github.com/zeit/async-retry#readme","_id":"async-retry@1.1.1","_shasum":"c47b3aac3fb891fc29117b4a222dd33d27c1d5d7","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"shasum":"c47b3aac3fb891fc29117b4a222dd33d27c1d5d7","size":2657,"noattachment":false,"key":"/async-retry/-/async-retry-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-retry/download/async-retry-1.1.1.tgz"},"maintainers":[{"name":"vercel-release-bot","email":""},{"name":"zeit-bot","email":"arunoda@zeit.co"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-retry-1.1.1.tgz_1496505458555_0.9321596259251237"},"directories":{},"publish_time":1496505459424,"_cnpm_publish_time":1496505459424,"_hasShrinkwrap":false},"1.1.0":{"name":"async-retry","version":"1.1.0","description":"Retrying made simple, easy and async","main":"./dist/index","files":["dist"],"scripts":{"build":"babel lib/index.js > dist/index.js","test":"npm run build && xo && ava","prepublish":"npm run build"},"babel":{"presets":["es2015"]},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/zeit/async-retry.git"},"ava":{"failFast":true},"xo":{"esnext":true,"space":true,"semicolon":false,"ignores":["examples/**/*"]},"dependencies":{"babel-preset-es2015":"^6.24.1","retry":"0.10.1"},"devDependencies":{"ava":"0.18.1","babel-cli":"^6.24.1","node-fetch":"1.6.3","then-sleep":"1.0.1","xo":"0.17.1"},"gitHead":"d8222fbfcdfe321f5f5b7096d10bf5592c2d0e8c","bugs":{"url":"https://github.com/zeit/async-retry/issues"},"homepage":"https://github.com/zeit/async-retry#readme","_id":"async-retry@1.1.0","_shasum":"ec0e8eb1d820785ede777d813580e023b757cc0b","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"rauchg","email":"rauchg@gmail.com"},"dist":{"shasum":"ec0e8eb1d820785ede777d813580e023b757cc0b","size":2621,"noattachment":false,"key":"/async-retry/-/async-retry-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-retry/download/async-retry-1.1.0.tgz"},"maintainers":[{"name":"vercel-release-bot","email":""},{"name":"zeit-bot","email":"arunoda@zeit.co"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-retry-1.1.0.tgz_1495925843887_0.7136602094396949"},"directories":{},"publish_time":1495925843962,"_hasShrinkwrap":false,"_cnpm_publish_time":1495925843962},"1.0.0":{"name":"async-retry","version":"1.0.0","description":"Retrying made simple, easy and async","main":"./lib/index","files":["lib"],"scripts":{"test":"xo && ava"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/zeit/async-retry.git"},"ava":{"failFast":true},"xo":{"esnext":true,"space":true,"semicolon":false,"ignores":["examples/**/*"]},"dependencies":{"retry":"0.10.1"},"devDependencies":{"ava":"0.18.1","node-fetch":"1.6.3","then-sleep":"1.0.1","xo":"0.17.1"},"gitHead":"f980ac4dfa36c6667baccc38c67c89a73e193d71","bugs":{"url":"https://github.com/zeit/async-retry/issues"},"homepage":"https://github.com/zeit/async-retry#readme","_id":"async-retry@1.0.0","_shasum":"4f4af799f1e9f1f38796b940611c047a67582c34","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"rauchg","email":"rauchg@gmail.com"},"dist":{"shasum":"4f4af799f1e9f1f38796b940611c047a67582c34","size":2507,"noattachment":false,"key":"/async-retry/-/async-retry-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-retry/download/async-retry-1.0.0.tgz"},"maintainers":[{"name":"vercel-release-bot","email":""},{"name":"zeit-bot","email":"arunoda@zeit.co"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-retry-1.0.0.tgz_1495919840067_0.9247861909680068"},"directories":{},"publish_time":1495919840192,"_hasShrinkwrap":false,"_cnpm_publish_time":1495919840192},"0.3.0":{"name":"async-retry","version":"0.3.0","description":"Retrying made simple, easy and async","main":"./lib/index","files":["lib"],"scripts":{"test":"xo && ava"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/zeit/release.git"},"ava":{"failFast":true},"xo":{"esnext":true,"space":true,"semicolon":false,"ignores":["examples/**/*"]},"dependencies":{"retry":"0.10.1"},"devDependencies":{"ava":"0.18.1","node-fetch":"1.6.3","then-sleep":"1.0.1","xo":"0.17.1"},"gitHead":"1c7ffc227051e760936b71273756dbf288b2e7e3","bugs":{"url":"https://github.com/zeit/release/issues"},"homepage":"https://github.com/zeit/release#readme","_id":"async-retry@0.3.0","_shasum":"d097faf3ae8cd9aedeee72faac83a06d86d0cdaf","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.2.0","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"shasum":"d097faf3ae8cd9aedeee72faac83a06d86d0cdaf","size":2528,"noattachment":false,"key":"/async-retry/-/async-retry-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-retry/download/async-retry-0.3.0.tgz"},"maintainers":[{"name":"vercel-release-bot","email":""},{"name":"zeit-bot","email":"arunoda@zeit.co"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/async-retry-0.3.0.tgz_1487110200889_0.6046348330564797"},"directories":{},"publish_time":1487110201416,"_cnpm_publish_time":1487110201416,"_hasShrinkwrap":false},"0.2.1":{"name":"async-retry","version":"0.2.1","description":"Retrying made simple, easy, async.","main":"./build/lib/index","files":["build"],"dependencies":{"retry":"0.9.0","babel-runtime":"6.5.0"},"devDependencies":{"ava":"0.12.0","babel-eslint":"4.1.8","babel-preset-es2015":"6.3.13","del":"2.2.0","eslint-config-standard":"4.4.0","eslint-plugin-standard":"1.3.1","gulp":"3.9.0","gulp-babel":"6.1.2","gulp-eslint":"1.1.1","gulp-task-listing":"1.0.1","babel-plugin-transform-runtime":"6.5.2","babel-plugin-syntax-async-functions":"6.5.0","babel-plugin-transform-async-to-generator":"6.5.0","babel-register":"6.5.2","node-fetch":"1.3.3","then-sleep":"1.0.1"},"scripts":{"gulp":"gulp","test":"ava"},"babel":{"presets":["es2015"],"plugins":["transform-runtime","syntax-async-functions","transform-async-to-generator"]},"ava":{"failFast":true,"files":["test/*.js"],"require":["babel-register"]},"gitHead":"6244b74c1df150eb5c28b176ac2fb3c5c1d42cd2","_id":"async-retry@0.2.1","_shasum":"a8ca3a101bc146dd75de5e6464263f26c1fcd44f","_from":".","_npmVersion":"2.15.0","_nodeVersion":"4.4.2","_npmUser":{"name":"zeit","email":"team@zeit.co"},"dist":{"shasum":"a8ca3a101bc146dd75de5e6464263f26c1fcd44f","size":2149,"noattachment":false,"key":"/async-retry/-/async-retry-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-retry/download/async-retry-0.2.1.tgz"},"maintainers":[{"name":"vercel-release-bot","email":""},{"name":"zeit-bot","email":"arunoda@zeit.co"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/async-retry-0.2.1.tgz_1464642808779_0.3833115454763174"},"directories":{},"publish_time":1464642809375,"_cnpm_publish_time":1464642809375,"_hasShrinkwrap":false},"0.2.0":{"name":"async-retry","version":"0.2.0","description":"Retrying made simple, easy, async.","main":"./build/lib/index","files":["build"],"dependencies":{"retry":"0.9.0","babel-runtime":"6.5.0"},"devDependencies":{"ava":"0.12.0","babel-eslint":"4.1.8","babel-preset-es2015":"6.3.13","del":"2.2.0","eslint-config-standard":"4.4.0","eslint-plugin-standard":"1.3.1","gulp":"3.9.0","gulp-babel":"6.1.2","gulp-eslint":"1.1.1","gulp-task-listing":"1.0.1","babel-plugin-transform-runtime":"6.5.2","babel-plugin-syntax-async-functions":"6.5.0","babel-plugin-transform-async-to-generator":"6.5.0","babel-register":"6.5.2","node-fetch":"1.3.3","then-sleep":"1.0.1"},"scripts":{"gulp":"gulp","test":"ava"},"babel":{"presets":["es2015"],"plugins":["transform-runtime","syntax-async-functions","transform-async-to-generator"]},"ava":{"failFast":true,"files":["test/*.js"],"require":["babel-register"]},"gitHead":"6fe432a194362f8acd48cad8ec94bd2c53006341","_id":"async-retry@0.2.0","_shasum":"67c9f43db7628b5e6bc02eae203fafb8671ff22e","_from":".","_npmVersion":"2.15.0","_nodeVersion":"4.4.2","_npmUser":{"name":"zeit","email":"team@zeit.co"},"dist":{"shasum":"67c9f43db7628b5e6bc02eae203fafb8671ff22e","size":2130,"noattachment":false,"key":"/async-retry/-/async-retry-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-retry/download/async-retry-0.2.0.tgz"},"maintainers":[{"name":"vercel-release-bot","email":""},{"name":"zeit-bot","email":"arunoda@zeit.co"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/async-retry-0.2.0.tgz_1464639261719_0.7129909249488264"},"directories":{},"publish_time":1464639265123,"_cnpm_publish_time":1464639265123,"_hasShrinkwrap":false},"0.1.1":{"name":"async-retry","version":"0.1.1","description":"Retrying made simple, easy, async.","main":"./build/lib/index","files":["build"],"dependencies":{"retry":"0.9.0","babel-runtime":"6.5.0"},"devDependencies":{"ava":"0.12.0","babel-eslint":"4.1.8","babel-preset-es2015":"6.3.13","del":"2.2.0","eslint-config-standard":"4.4.0","eslint-plugin-standard":"1.3.1","gulp":"3.9.0","gulp-babel":"6.1.2","gulp-eslint":"1.1.1","gulp-task-listing":"1.0.1","babel-plugin-transform-runtime":"6.5.2","babel-plugin-syntax-async-functions":"6.5.0","babel-plugin-transform-async-to-generator":"6.5.0","babel-register":"6.5.2","node-fetch":"1.3.3","then-sleep":"1.0.1"},"scripts":{"gulp":"gulp","test":"ava"},"babel":{"presets":["es2015"],"plugins":["transform-runtime","syntax-async-functions","transform-async-to-generator"]},"ava":{"failFast":true,"files":["test/*.js"],"require":["babel-register"]},"gitHead":"5a150af86390ccf05140979b48e68d56646bebbe","_id":"async-retry@0.1.1","_shasum":"641a3cc6e40ea6e47e8ff48bad9afaf13755fb60","_from":".","_npmVersion":"3.7.2","_nodeVersion":"5.3.0","_npmUser":{"name":"zeit","email":"team@zeit.co"},"dist":{"shasum":"641a3cc6e40ea6e47e8ff48bad9afaf13755fb60","size":2008,"noattachment":false,"key":"/async-retry/-/async-retry-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-retry/download/async-retry-0.1.1.tgz"},"maintainers":[{"name":"vercel-release-bot","email":""},{"name":"zeit-bot","email":"arunoda@zeit.co"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/async-retry-0.1.1.tgz_1456771632712_0.33647476183250546"},"directories":{},"publish_time":1456771634434,"_cnpm_publish_time":1456771634434,"_hasShrinkwrap":false},"0.1.0":{"name":"async-retry","version":"0.1.0","description":"Retrying made simple, easy, async.","main":"./build/lib/index","files":["build"],"dependencies":{"retry":"0.9.0","babel-runtime":"6.5.0"},"devDependencies":{"ava":"0.12.0","babel-eslint":"4.1.8","babel-preset-es2015":"6.3.13","del":"2.2.0","eslint-config-standard":"4.4.0","eslint-plugin-standard":"1.3.1","gulp":"3.9.0","gulp-babel":"6.1.2","gulp-eslint":"1.1.1","gulp-task-listing":"1.0.1","babel-plugin-transform-runtime":"6.5.2","babel-plugin-syntax-async-functions":"6.5.0","babel-plugin-transform-async-to-generator":"6.5.0","babel-register":"6.5.2","node-fetch":"1.3.3","then-sleep":"1.0.1"},"scripts":{"gulp":"gulp","test":"ava"},"babel":{"presets":["es2015"],"plugins":["transform-runtime","syntax-async-functions","transform-async-to-generator"]},"ava":{"failFast":true,"files":["test/*.js"],"require":["babel-register"]},"gitHead":"93ce68921c527f97fd1b518536d85d2ce370c878","_id":"async-retry@0.1.0","_shasum":"80e5ab659b9ffbbfa1d5768186e69bfd955ac7f7","_from":".","_npmVersion":"3.7.2","_nodeVersion":"5.3.0","_npmUser":{"name":"zeit","email":"team@zeit.co"},"dist":{"shasum":"80e5ab659b9ffbbfa1d5768186e69bfd955ac7f7","size":1475,"noattachment":false,"key":"/async-retry/-/async-retry-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/async-retry/download/async-retry-0.1.0.tgz"},"maintainers":[{"name":"vercel-release-bot","email":""},{"name":"zeit-bot","email":"arunoda@zeit.co"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/async-retry-0.1.0.tgz_1456770756166_0.40566543280147016"},"directories":{},"publish_time":1456770759129,"_cnpm_publish_time":1456770759129,"_hasShrinkwrap":false}},"readme":"# async-retry\n\nRetrying made simple, easy, and async.\n\n## Usage\n\n```js\n// Packages\nconst retry = require('async-retry');\nconst fetch = require('node-fetch');\n\nawait retry(\n  async (bail) => {\n    // if anything throws, we retry\n    const res = await fetch('https://google.com');\n\n    if (403 === res.status) {\n      // don't retry upon 403\n      bail(new Error('Unauthorized'));\n      return;\n    }\n\n    const data = await res.text();\n    return data.substr(0, 500);\n  },\n  {\n    retries: 5,\n  }\n);\n```\n\n### API\n\n```js\nretry(retrier : Function, opts : Object) => Promise\n```\n\n- The supplied function can be `async` or not. In other words, it can be a function that returns a `Promise` or a value.\n- The supplied function receives two parameters\n  1. A `Function` you can invoke to abort the retrying (bail)\n  2. A `Number` identifying the attempt. The absolute first attempt (before any retries) is `1`.\n- The `opts` are passed to `node-retry`. Read [its docs](https://github.com/tim-kos/node-retry)\n  - `retries`: The maximum amount of times to retry the operation. Default is `10`.\n  - `factor`: The exponential factor to use. Default is `2`.\n  - `minTimeout`: The number of milliseconds before starting the first retry. Default is `1000`.\n  - `maxTimeout`: The maximum number of milliseconds between two retries. Default is `Infinity`.\n  - `randomize`: Randomizes the timeouts by multiplying with a factor between `1` to `2`. Default is `true`.\n  - `onRetry`: an optional `Function` that is invoked after a new retry is performed. It's passed the `Error` that triggered it as a parameter.\n\n## Authors\n\n- Guillermo Rauch ([@rauchg](https://twitter.com/rauchg)) - [Vercel](https://vercel.com)\n- Leo Lamprecht ([@notquiteleo](https://twitter.com/notquiteleo)) - [Vercel](https://vercel.com)\n","_attachments":{},"homepage":"https://github.com/vercel/async-retry#readme","bugs":{"url":"https://github.com/vercel/async-retry/issues"},"license":"MIT"}