{"_id":"promise-retry","_rev":"59673","name":"promise-retry","description":"Retries a function that returns a promise, leveraging the power of the retry module.","dist-tags":{"latest":"2.0.1"},"maintainers":[{"name":"achingbrain","email":""},{"name":"carsy","email":""},{"name":"satazor","email":""}],"time":{"modified":"2022-10-18T09:48:31.000Z","created":"2015-01-10T16:37:17.444Z","2.0.1":"2020-06-14T13:09:02.848Z","2.0.0":"2020-06-13T10:12:06.336Z","1.1.1":"2016-08-20T10:40:05.614Z","1.1.0":"2016-03-15T20:13:16.083Z","1.0.2":"2016-01-26T14:18:50.250Z","1.0.1":"2016-01-03T10:58:34.655Z","1.0.0":"2016-01-03T10:50:44.762Z","0.2.9":"2015-03-04T19:52:50.186Z","0.2.8":"2015-02-26T18:55:44.187Z","0.2.7":"2015-01-11T18:08:18.178Z","0.2.6":"2015-01-11T18:01:01.035Z","0.2.5":"2015-01-11T01:23:06.218Z","0.2.4":"2015-01-11T01:20:27.229Z","0.2.3":"2015-01-11T01:17:33.175Z","0.2.2":"2015-01-10T17:56:30.549Z","0.2.0":"2015-01-10T17:30:12.798Z","0.1.1":"2015-01-10T16:37:17.444Z"},"users":{},"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-promise-retry.git"},"versions":{"2.0.1":{"name":"promise-retry","version":"2.0.1","description":"Retries a function that returns a promise, leveraging the power of the retry module.","main":"index.js","scripts":{"test":"mocha --bail -t 10000"},"bugs":{"url":"https://github.com/IndigoUnited/node-promise-retry/issues/"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-promise-retry.git"},"keywords":["retry","promise","backoff","repeat","replay"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","devDependencies":{"expect.js":"^0.3.1","mocha":"^8.0.1","sleep-promise":"^8.0.1"},"dependencies":{"err-code":"^2.0.2","retry":"^0.12.0"},"engines":{"node":">=10"},"gitHead":"7fb08491112cffe5a0dd11805eff20ca6b6133ac","homepage":"https://github.com/IndigoUnited/node-promise-retry#readme","_id":"promise-retry@2.0.1","_nodeVersion":"12.16.1","_npmVersion":"6.14.1","dist":{"shasum":"ff747a13620ab57ba688f5fc67855410c370da22","size":4101,"noattachment":false,"key":"/promise-retry/-/promise-retry-2.0.1.tgz","tarball":"http://name.csiicloud.com:7001/promise-retry/download/promise-retry-2.0.1.tgz"},"maintainers":[{"name":"achingbrain","email":""},{"name":"carsy","email":""},{"name":"satazor","email":""}],"_npmUser":{"name":"achingbrain","email":"alex@achingbrain.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/promise-retry_2.0.1_1592140142698_0.932374012007849"},"_hasShrinkwrap":false,"publish_time":1592140142848,"_cnpm_publish_time":1592140142848},"2.0.0":{"name":"promise-retry","version":"2.0.0","description":"Retries a function that returns a promise, leveraging the power of the retry module.","main":"index.js","scripts":{"test":"mocha --bail -t 10000"},"bugs":{"url":"https://github.com/IndigoUnited/node-promise-retry/issues/"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-promise-retry.git"},"keywords":["retry","promise","backoff","repeat","replay"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","devDependencies":{"expect.js":"^0.3.1","mocha":"^8.0.1","sleep-promise":"^8.0.1"},"dependencies":{"err-code":"^2.0.2","retry":"^0.12.0"},"engines":{"node":">=0.12"},"gitHead":"a3dae32edaf0259c9608b266e4ee2f2f180e94f1","homepage":"https://github.com/IndigoUnited/node-promise-retry#readme","_id":"promise-retry@2.0.0","_nodeVersion":"12.16.1","_npmVersion":"6.14.1","dist":{"shasum":"254fe52144efb2956c66c6bd19a4473b7165601d","size":4101,"noattachment":false,"key":"/promise-retry/-/promise-retry-2.0.0.tgz","tarball":"http://name.csiicloud.com:7001/promise-retry/download/promise-retry-2.0.0.tgz"},"maintainers":[{"name":"achingbrain","email":""},{"name":"carsy","email":""},{"name":"satazor","email":""}],"_npmUser":{"name":"achingbrain","email":"alex@achingbrain.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/promise-retry_2.0.0_1592043126205_0.5743071486372056"},"_hasShrinkwrap":false,"publish_time":1592043126336,"_cnpm_publish_time":1592043126336},"1.1.1":{"name":"promise-retry","version":"1.1.1","description":"Retries a function that returns a promise, leveraging the power of the retry module.","main":"index.js","scripts":{"test":"mocha --bail -t 10000"},"bugs":{"url":"https://github.com/IndigoUnited/node-promise-retry/issues/"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-promise-retry.git"},"keywords":["retry","promise","backoff","repeat","replay"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","devDependencies":{"expect.js":"^0.3.1","mocha":"^3.0.0","sleep-promise":"^2.0.0"},"dependencies":{"err-code":"^1.0.0","retry":"^0.10.0"},"engines":{"node":">=0.12"},"gitHead":"4f07750e903f819bcc38622fa53deb7162f5e978","homepage":"https://github.com/IndigoUnited/node-promise-retry#readme","_id":"promise-retry@1.1.1","_shasum":"6739e968e3051da20ce6497fb2b50f6911df3d6d","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"dist":{"shasum":"6739e968e3051da20ce6497fb2b50f6911df3d6d","size":4132,"noattachment":false,"key":"/promise-retry/-/promise-retry-1.1.1.tgz","tarball":"http://name.csiicloud.com:7001/promise-retry/download/promise-retry-1.1.1.tgz"},"maintainers":[{"name":"achingbrain","email":""},{"name":"carsy","email":""},{"name":"satazor","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/promise-retry-1.1.1.tgz_1471689604229_0.3687993742059916"},"directories":{},"publish_time":1471689605614,"_cnpm_publish_time":1471689605614,"_hasShrinkwrap":false},"1.1.0":{"name":"promise-retry","version":"1.1.0","description":"Retries a function that returns a promise, leveraging the power of the retry module.","main":"index.js","scripts":{"test":"mocha --bail -t 10000"},"bugs":{"url":"https://github.com/IndigoUnited/node-promise-retry/issues/"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-promise-retry.git"},"keywords":["retry","promise","backoff","repeat","replay"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","devDependencies":{"expect.js":"^0.3.1","mocha":"^2.3.4","sleep-promise":"^1.0.0"},"dependencies":{"err-code":"^1.0.0","retry":"^0.9.0"},"engines":{"node":">=0.12"},"gitHead":"b353e8b1f6f2d976dca182c8d0f9aeb0f89ca7a0","homepage":"https://github.com/IndigoUnited/node-promise-retry#readme","_id":"promise-retry@1.1.0","_shasum":"26e0138304a2594fd18c8131d046588d9bd7c651","_from":".","_npmVersion":"2.14.20","_nodeVersion":"4.4.0","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"maintainers":[{"name":"achingbrain","email":""},{"name":"carsy","email":""},{"name":"satazor","email":""}],"dist":{"shasum":"26e0138304a2594fd18c8131d046588d9bd7c651","size":4164,"noattachment":false,"key":"/promise-retry/-/promise-retry-1.1.0.tgz","tarball":"http://name.csiicloud.com:7001/promise-retry/download/promise-retry-1.1.0.tgz"},"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/promise-retry-1.1.0.tgz_1458072793732_0.8005161962937564"},"directories":{},"publish_time":1458072796083,"_cnpm_publish_time":1458072796083,"_hasShrinkwrap":false},"1.0.2":{"name":"promise-retry","version":"1.0.2","description":"Retries a function that returns a promise, leveraging the power of the retry module.","main":"index.js","scripts":{"test":"mocha --bail -t 10000"},"bugs":{"url":"https://github.com/IndigoUnited/node-promise-retry/issues/"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-promise-retry.git"},"keywords":["retry","promise","backoff","repeat","replay"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","devDependencies":{"expect.js":"^0.3.1","mocha":"^2.3.4","sleep-promise":"^1.0.0"},"dependencies":{"err-code":"^1.0.0","promise-try":"^1.0.1","retry":"^0.9.0"},"engines":{"node":">=0.12"},"gitHead":"1fd5cb202f81d09f385dad3b4e3a7d4b971494e7","homepage":"https://github.com/IndigoUnited/node-promise-retry","_id":"promise-retry@1.0.2","_shasum":"9b0d9c0201965cc46c560eddbba34d557ea0d867","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"maintainers":[{"name":"achingbrain","email":""},{"name":"carsy","email":""},{"name":"satazor","email":""}],"dist":{"shasum":"9b0d9c0201965cc46c560eddbba34d557ea0d867","size":4180,"noattachment":false,"key":"/promise-retry/-/promise-retry-1.0.2.tgz","tarball":"http://name.csiicloud.com:7001/promise-retry/download/promise-retry-1.0.2.tgz"},"directories":{},"publish_time":1453817930250,"_cnpm_publish_time":1453817930250,"_hasShrinkwrap":false},"1.0.1":{"name":"promise-retry","version":"1.0.1","description":"Retries a function that returns a promise, leveraging the power of the retry module.","main":"index.js","scripts":{"test":"mocha --bail -R spec -t 10000"},"bugs":{"url":"https://github.com/IndigoUnited/node-promise-retry/issues/"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-promise-retry.git"},"keywords":["retry","promise","backoff","repeat","replay"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","devDependencies":{"expect.js":"^0.3.1","mocha":"^2.3.4","sleep-promise":"^1.0.0"},"dependencies":{"err-code":"^1.0.0","promise-try":"^1.0.1","retry":"^0.8.0"},"engines":{"node":">=0.12"},"gitHead":"42fd2930ef98c1c463ed291cd86e2625f4f8b987","homepage":"https://github.com/IndigoUnited/node-promise-retry#readme","_id":"promise-retry@1.0.1","_shasum":"5d8c8920f1c255f73d668532c78759c09de20e25","_from":".","_npmVersion":"2.14.9","_nodeVersion":"0.12.9","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"maintainers":[{"name":"achingbrain","email":""},{"name":"carsy","email":""},{"name":"satazor","email":""}],"dist":{"shasum":"5d8c8920f1c255f73d668532c78759c09de20e25","size":4189,"noattachment":false,"key":"/promise-retry/-/promise-retry-1.0.1.tgz","tarball":"http://name.csiicloud.com:7001/promise-retry/download/promise-retry-1.0.1.tgz"},"directories":{},"publish_time":1451818714655,"_cnpm_publish_time":1451818714655,"_hasShrinkwrap":false},"1.0.0":{"name":"promise-retry","version":"1.0.0","description":"Retries a function that returns a promise, leveraging the power of the retry module.","main":"index.js","scripts":{"test":"mocha --bail -R spec -t 10000"},"bugs":{"url":"https://github.com/IndigoUnited/node-promise-retry/issues/"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-promise-retry.git"},"keywords":["retry","promise","backoff","repeat","replay"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","devDependencies":{"expect.js":"^0.3.1","mocha":"^2.3.4","sleep-promise":"^1.0.0"},"dependencies":{"err-code":"^1.0.0","promise-try":"^1.0.1","retry":"^0.8.0"},"gitHead":"6188b5fc5d5d2a40d683e332c47ef95a41049c45","homepage":"https://github.com/IndigoUnited/node-promise-retry#readme","_id":"promise-retry@1.0.0","_shasum":"8783f59f662de7db8020788af5028d7be9faffe8","_from":".","_npmVersion":"2.14.9","_nodeVersion":"0.12.9","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"maintainers":[{"name":"achingbrain","email":""},{"name":"carsy","email":""},{"name":"satazor","email":""}],"dist":{"shasum":"8783f59f662de7db8020788af5028d7be9faffe8","size":4161,"noattachment":false,"key":"/promise-retry/-/promise-retry-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/promise-retry/download/promise-retry-1.0.0.tgz"},"directories":{},"publish_time":1451818244762,"_cnpm_publish_time":1451818244762,"_hasShrinkwrap":false},"0.2.9":{"name":"promise-retry","version":"0.2.9","description":"Retries a function that returns a promise, leveraging the power of the retry module.","main":"index.js","scripts":{"test":"mocha --bail -R spec -t 10000"},"bugs":{"url":"https://github.com/IndigoUnited/node-promise-retry/issues/"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-promise-retry.git"},"keywords":["retry","promise","backoff","bluebird","repeat","replay"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","devDependencies":{"expect.js":"^0.3.1","mocha":"^2.1.0"},"dependencies":{"bluebird":"^2.6.2","err-code":"^0.1.2","retry":"^0.6.1"},"gitHead":"8e31237fabccef75e09535d239f5a12328faf021","homepage":"https://github.com/IndigoUnited/node-promise-retry","_id":"promise-retry@0.2.9","_shasum":"cef911cfe282316757d62c598bccf44ee8677c27","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.10.36","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"maintainers":[{"name":"achingbrain","email":""},{"name":"carsy","email":""},{"name":"satazor","email":""}],"dist":{"shasum":"cef911cfe282316757d62c598bccf44ee8677c27","size":4020,"noattachment":false,"key":"/promise-retry/-/promise-retry-0.2.9.tgz","tarball":"http://name.csiicloud.com:7001/promise-retry/download/promise-retry-0.2.9.tgz"},"directories":{},"publish_time":1425498770186,"_cnpm_publish_time":1425498770186,"_hasShrinkwrap":false},"0.2.8":{"name":"promise-retry","version":"0.2.8","description":"Retries a function that returns a promise, leveraging the power of the retry module.","main":"index.js","scripts":{"test":"mocha --bail -R spec -t 10000"},"bugs":{"url":"https://github.com/IndigoUnited/node-promise-retry/issues/"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-promise-retry.git"},"keywords":["retry","promise","backoff","bluebird","repeat","replay"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","devDependencies":{"expect.js":"^0.3.1","mocha":"^2.1.0"},"dependencies":{"bluebird":"^2.6.2","err-code":"^0.1.2","retry":"^0.6.1"},"gitHead":"2e6b7301d209b214cadf3a95794ea17c68f08c5c","homepage":"https://github.com/IndigoUnited/node-promise-retry","_id":"promise-retry@0.2.8","_shasum":"ac45b42632366bbc00aac50d2af85ce56595f7ca","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.10.35","_npmUser":{"name":"carsy","email":"jlageb@gmail.com"},"maintainers":[{"name":"achingbrain","email":""},{"name":"carsy","email":""},{"name":"satazor","email":""}],"dist":{"shasum":"ac45b42632366bbc00aac50d2af85ce56595f7ca","size":3810,"noattachment":false,"key":"/promise-retry/-/promise-retry-0.2.8.tgz","tarball":"http://name.csiicloud.com:7001/promise-retry/download/promise-retry-0.2.8.tgz"},"directories":{},"publish_time":1424976944187,"_cnpm_publish_time":1424976944187,"_hasShrinkwrap":false},"0.2.7":{"name":"promise-retry","version":"0.2.7","description":"Retries a function that returns a promise, leveraging the power of the retry module.","main":"index.js","scripts":{"test":"mocha --bail -R spec -t 10000"},"bugs":{"url":"https://github.com/IndigoUnited/node-promise-retry/issues/"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-promise-retry.git"},"keywords":["retry","promise","backoff","bluebird","repeat","replay"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","devDependencies":{"expect.js":"^0.3.1","mocha":"^2.1.0"},"dependencies":{"bluebird":"^2.6.2","err-code":"^0.1.2","retry":"^0.6.1"},"gitHead":"05f3586a8888b0ef1cceca65e96a9f8c1cd19cf3","homepage":"https://github.com/IndigoUnited/node-promise-retry","_id":"promise-retry@0.2.7","_shasum":"8ead37cedf544a831765ce2e19cfcbd9853d07e1","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.10.35","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"maintainers":[{"name":"achingbrain","email":""},{"name":"carsy","email":""},{"name":"satazor","email":""}],"dist":{"shasum":"8ead37cedf544a831765ce2e19cfcbd9853d07e1","size":3744,"noattachment":false,"key":"/promise-retry/-/promise-retry-0.2.7.tgz","tarball":"http://name.csiicloud.com:7001/promise-retry/download/promise-retry-0.2.7.tgz"},"directories":{},"publish_time":1420999698178,"_cnpm_publish_time":1420999698178,"_hasShrinkwrap":false},"0.2.6":{"name":"promise-retry","version":"0.2.6","description":"Retries a function that returns a promise, leveraging the power of the retry module.","main":"index.js","scripts":{"test":"mocha --bail -R spec -t 10000"},"bugs":{"url":"https://github.com/IndigoUnited/node-promise-retry/issues/"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-promise-retry.git"},"keywords":["retry","promise","backoff","bluebird","repeat","replay"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","devDependencies":{"expect.js":"^0.3.1","mocha":"^2.1.0"},"dependencies":{"bluebird":"^2.6.2","err-code":"^0.1.2","retry":"^0.6.1"},"gitHead":"ce1206fb2c3bf0c7145abe5a547f3af59bdde814","homepage":"https://github.com/IndigoUnited/node-promise-retry","_id":"promise-retry@0.2.6","_shasum":"cd707fca2834bc7e8fede1057797ca0f2f343638","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.10.35","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"maintainers":[{"name":"achingbrain","email":""},{"name":"carsy","email":""},{"name":"satazor","email":""}],"dist":{"shasum":"cd707fca2834bc7e8fede1057797ca0f2f343638","size":3681,"noattachment":false,"key":"/promise-retry/-/promise-retry-0.2.6.tgz","tarball":"http://name.csiicloud.com:7001/promise-retry/download/promise-retry-0.2.6.tgz"},"directories":{},"publish_time":1420999261035,"_cnpm_publish_time":1420999261035,"_hasShrinkwrap":false},"0.2.5":{"name":"promise-retry","version":"0.2.5","description":"Retries a function that returns a promise, leveraging the power of the retry module.","main":"index.js","scripts":{"test":"mocha --bail -R spec -t 10000"},"bugs":{"url":"https://github.com/IndigoUnited/node-promise-retry/issues/"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-promise-retry.git"},"keywords":["retry","promise","backoff","bluebird","repeat","replay"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","devDependencies":{"expect.js":"^0.3.1","mocha":"^2.1.0"},"dependencies":{"bluebird":"^2.6.2","err-code":"^0.1.2","retry":"^0.6.1"},"gitHead":"dcc32b9372f38d079f2b8fe9939606f91ac5294f","homepage":"https://github.com/IndigoUnited/node-promise-retry","_id":"promise-retry@0.2.5","_shasum":"6f586973fb798e16890a31b80c2e5a127eda5d7c","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.10.35","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"maintainers":[{"name":"achingbrain","email":""},{"name":"carsy","email":""},{"name":"satazor","email":""}],"dist":{"shasum":"6f586973fb798e16890a31b80c2e5a127eda5d7c","size":3568,"noattachment":false,"key":"/promise-retry/-/promise-retry-0.2.5.tgz","tarball":"http://name.csiicloud.com:7001/promise-retry/download/promise-retry-0.2.5.tgz"},"directories":{},"publish_time":1420939386218,"_cnpm_publish_time":1420939386218,"_hasShrinkwrap":false},"0.2.4":{"name":"promise-retry","version":"0.2.4","description":"Retries a function that returns a promise, leveraging the power of the retry module.","main":"index.js","scripts":{"test":"mocha --bail -R spec -t 10000"},"bugs":{"url":"https://github.com/IndigoUnited/node-promise-retry/issues/"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-promise-retry.git"},"keywords":["retry","promise","backoff","bluebird","repeat","replay"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","devDependencies":{"expect.js":"^0.3.1","mocha":"^2.1.0"},"dependencies":{"bluebird":"^2.6.2","err-code":"^0.1.2","retry":"^0.6.1"},"gitHead":"fe9f7f56e52bf495f84c92219ee8fd963e844b4e","homepage":"https://github.com/IndigoUnited/node-promise-retry","_id":"promise-retry@0.2.4","_shasum":"fdf04ddfbaaf452c7430898cf045a58b7b0f1ede","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.10.35","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"maintainers":[{"name":"achingbrain","email":""},{"name":"carsy","email":""},{"name":"satazor","email":""}],"dist":{"shasum":"fdf04ddfbaaf452c7430898cf045a58b7b0f1ede","size":3598,"noattachment":false,"key":"/promise-retry/-/promise-retry-0.2.4.tgz","tarball":"http://name.csiicloud.com:7001/promise-retry/download/promise-retry-0.2.4.tgz"},"directories":{},"publish_time":1420939227229,"_cnpm_publish_time":1420939227229,"_hasShrinkwrap":false},"0.2.3":{"name":"promise-retry","version":"0.2.3","description":"Retries a function that returns a promise, leveraging the power of the retry module.","main":"index.js","scripts":{"test":"mocha --bail -R spec -t 10000"},"bugs":{"url":"https://github.com/IndigoUnited/node-deep-compact/issues/"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-deep-compact.git"},"keywords":["retry","promise","backoff","bluebird","repeat","replay"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","devDependencies":{"expect.js":"^0.3.1","mocha":"^2.1.0"},"dependencies":{"bluebird":"^2.6.2","err-code":"^0.1.2","retry":"^0.6.1"},"gitHead":"8b9a7112eac4908d336b383aa18f0e982685e828","homepage":"https://github.com/IndigoUnited/node-deep-compact","_id":"promise-retry@0.2.3","_shasum":"a0f94c563a784b086866fde73de43304c854d501","_from":".","_npmVersion":"2.1.18","_nodeVersion":"0.10.35","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"maintainers":[{"name":"achingbrain","email":""},{"name":"carsy","email":""},{"name":"satazor","email":""}],"dist":{"shasum":"a0f94c563a784b086866fde73de43304c854d501","size":3606,"noattachment":false,"key":"/promise-retry/-/promise-retry-0.2.3.tgz","tarball":"http://name.csiicloud.com:7001/promise-retry/download/promise-retry-0.2.3.tgz"},"directories":{},"publish_time":1420939053175,"_cnpm_publish_time":1420939053175,"_hasShrinkwrap":false},"0.2.2":{"name":"promise-retry","version":"0.2.2","description":"Retries a function that returns a promise, leveraging the power of the retry module.","main":"index.js","scripts":{"test":"mocha --bail -R spec -t 10000"},"bugs":{"url":"https://github.com/IndigoUnited/node-deep-compact/issues/"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-deep-compact.git"},"keywords":["retry","promise","backoff","bluebird","repeat","replay"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","devDependencies":{"expect.js":"^0.3.1","mocha":"^2.1.0"},"dependencies":{"bluebird":"^2.6.2","err-code":"^0.1.2","retry":"^0.6.1"},"gitHead":"4befad916d5ecf5cdd740a25015bc6fb7ca6d2b1","homepage":"https://github.com/IndigoUnited/node-deep-compact","_id":"promise-retry@0.2.2","_shasum":"810eabe2411fec1627da624fc85484f25627c4cd","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.10.32","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"maintainers":[{"name":"achingbrain","email":""},{"name":"carsy","email":""},{"name":"satazor","email":""}],"dist":{"shasum":"810eabe2411fec1627da624fc85484f25627c4cd","size":3596,"noattachment":false,"key":"/promise-retry/-/promise-retry-0.2.2.tgz","tarball":"http://name.csiicloud.com:7001/promise-retry/download/promise-retry-0.2.2.tgz"},"directories":{},"publish_time":1420912590549,"_cnpm_publish_time":1420912590549,"_hasShrinkwrap":false},"0.2.0":{"name":"promise-retry","version":"0.2.0","description":"Retries a function that returns a promise, leveraging the power of the retry module.","main":"index.js","scripts":{"test":"mocha --bail -R spec -t 10000"},"bugs":{"url":"https://github.com/IndigoUnited/node-deep-compact/issues/"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-deep-compact.git"},"keywords":["retry","promise","backoff","bluebird","repeat","replay"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","devDependencies":{"expect.js":"^0.3.1","mocha":"^2.1.0"},"dependencies":{"bluebird":"^2.6.2","err-code":"^0.1.2","retry":"^0.6.1"},"gitHead":"8bdf7b3c1e127f4329350b9fe8554d488947d013","homepage":"https://github.com/IndigoUnited/node-deep-compact","_id":"promise-retry@0.2.0","_shasum":"b77f49bba369d9aa4f64e61ea7f7bb82effd785a","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.10.32","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"maintainers":[{"name":"achingbrain","email":""},{"name":"carsy","email":""},{"name":"satazor","email":""}],"dist":{"shasum":"b77f49bba369d9aa4f64e61ea7f7bb82effd785a","size":3602,"noattachment":false,"key":"/promise-retry/-/promise-retry-0.2.0.tgz","tarball":"http://name.csiicloud.com:7001/promise-retry/download/promise-retry-0.2.0.tgz"},"directories":{},"publish_time":1420911012798,"_cnpm_publish_time":1420911012798,"_hasShrinkwrap":false},"0.1.1":{"name":"promise-retry","version":"0.1.1","description":"Retries a function that returns a promise, leveraging the power of the retry module.","main":"index.js","scripts":{"test":"mocha --bail -R spec -t 10000"},"bugs":{"url":"https://github.com/IndigoUnited/node-deep-compact/issues/"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-deep-compact.git"},"keywords":["retry","promise","backoff","bluebird","repeat","replay"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","devDependencies":{"expect.js":"^0.3.1","mocha":"^2.1.0"},"dependencies":{"bluebird":"^2.6.2","err-code":"^0.1.2","retry":"^0.6.1"},"gitHead":"a87d805ba09243d6757b92232b380b973de334a9","homepage":"https://github.com/IndigoUnited/node-deep-compact","_id":"promise-retry@0.1.1","_shasum":"e4e8f3573e89a20de40012be5bd9c8619308d13f","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.10.32","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"maintainers":[{"name":"achingbrain","email":""},{"name":"carsy","email":""},{"name":"satazor","email":""}],"dist":{"shasum":"e4e8f3573e89a20de40012be5bd9c8619308d13f","size":3365,"noattachment":false,"key":"/promise-retry/-/promise-retry-0.1.1.tgz","tarball":"http://name.csiicloud.com:7001/promise-retry/download/promise-retry-0.1.1.tgz"},"directories":{},"publish_time":1420907837444,"_cnpm_publish_time":1420907837444,"_hasShrinkwrap":false}},"readme":"# node-promise-retry\n\n[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency status][david-dm-image]][david-dm-url] [![Dev Dependency status][david-dm-dev-image]][david-dm-dev-url] [![Greenkeeper badge][greenkeeper-image]][greenkeeper-url]\n\n[npm-url]:https://npmjs.org/package/promise-retry\n[downloads-image]:http://img.shields.io/npm/dm/promise-retry.svg\n[npm-image]:http://img.shields.io/npm/v/promise-retry.svg\n[travis-url]:https://travis-ci.org/IndigoUnited/node-promise-retry\n[travis-image]:http://img.shields.io/travis/IndigoUnited/node-promise-retry/master.svg\n[david-dm-url]:https://david-dm.org/IndigoUnited/node-promise-retry\n[david-dm-image]:https://img.shields.io/david/IndigoUnited/node-promise-retry.svg\n[david-dm-dev-url]:https://david-dm.org/IndigoUnited/node-promise-retry?type=dev\n[david-dm-dev-image]:https://img.shields.io/david/dev/IndigoUnited/node-promise-retry.svg\n[greenkeeper-image]:https://badges.greenkeeper.io/IndigoUnited/node-promise-retry.svg\n[greenkeeper-url]:https://greenkeeper.io/\n\nRetries a function that returns a promise, leveraging the power of the [retry](https://github.com/tim-kos/node-retry) module to the promises world.\n\nThere's already some modules that are able to retry functions that return promises but\nthey were rather difficult to use or do not offer an easy way to do conditional retries.\n\n\n## Installation\n\n`$ npm install promise-retry`\n\n\n## Usage\n\n### promiseRetry(fn, [options])\n\nCalls `fn` until the returned promise ends up fulfilled or rejected with an error different than\na `retry` error.   \nThe `options` argument is an object which maps to the [retry](https://github.com/tim-kos/node-retry) module options:\n\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 `false`.\n\n\nThe `fn` function will receive a `retry` function as its first argument that should be called with an error whenever you want to retry `fn`. The `retry` function will always throw an error.   \nIf there are retries left, it will throw a special `retry` error that will be handled internally to call `fn` again.\nIf there are no retries left, it will throw the actual error passed to it.\n\nIf you prefer, you can pass the options first using the alternative function signature `promiseRetry([options], fn)`.\n\n## Example\n```js\nvar promiseRetry = require('promise-retry');\n\n// Simple example\npromiseRetry(function (retry, number) {\n    console.log('attempt number', number);\n\n    return doSomething()\n    .catch(retry);\n})\n.then(function (value) {\n    // ..\n}, function (err) {\n    // ..\n});\n\n// Conditional example\npromiseRetry(function (retry, number) {\n    console.log('attempt number', number);\n\n    return doSomething()\n    .catch(function (err) {\n        if (err.code === 'ETIMEDOUT') {\n            retry(err);\n        }\n\n        throw err;\n    });\n})\n.then(function (value) {\n    // ..\n}, function (err) {\n    // ..\n});\n```\n\n\n## Tests\n\n`$ npm test`\n\n\n## License\n\nReleased under the [MIT License](http://www.opensource.org/licenses/mit-license.php).\n","_attachments":{},"homepage":"https://github.com/IndigoUnited/node-promise-retry#readme","bugs":{"url":"https://github.com/IndigoUnited/node-promise-retry/issues/"},"license":"MIT"}