# tim-kos/node-retry

Abstraction for exponential and custom retry strategies for failed operations.

Repository: https://github.com/tim-kos/node-retry
Canonical: https://ross.abutalabs.com/products/node-retry
Language: JavaScript
License: NOASSERTION
License Family: other
Last push: 2023-09-13T11:11:26+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5592, "days_push": 1085, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1259, forks 85 (observed 2026-08-28T04:04:09.795199+00:00)

## What it is
A Node.js library providing an abstraction for exponential and custom retry strategies for failed operations. It wraps flaky async calls with configurable retry attempts, timeouts, and backoff factors.

## Use cases
- retry failed network requests with exponential backoff
- add fault tolerance to flaky dns lookups in node
- configure custom retry timeouts and attempt limits
- retry async operations until they succeed
- implement retry logic for unreliable api calls

## When to choose
- you need configurable exponential backoff for failing async operations in Node.js
- you want fine-grained control over retry counts, timeouts, and randomization
- you need retry support for both callback and promise-based code

## When to avoid
- you need retry logic outside of Node.js
- you want a batteries-included HTTP client with built-in retries rather than a low-level retry abstraction
- you need circuit-breaker or rate-limiting features alongside retries

## Facets
- artifact type: library
- maturity: maintenance
- function: concurrency, error-handling, developer-tools
- domain: developer-tools, backend
- platform: -
- tags: retry, exponential-backoff, fault-tolerance, npm, nodejs, javascript

## Member repositories
- tim-kos/node-retry (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:09.795199+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:05:32.668982+00:00, confidence not recorded.
  - readme: https://github.com/tim-kos/node-retry (fetched 2026-08-28T04:04:09.795199+00:00, sha 561a7bcf045a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
