fetch-with-retries
JSON →Simple and opinionated library that adds automatic retry logic to native Node.js `fetch` (available since Node 20). Current version 2.3.0. Release cadence is sporadic. Key differentiators: built-in exponential backoff, support for `Retry-After` and `X-RateLimit-Reset` headers, custom retry conditions, timeout option, and ability to abort wait between retries. Unlike more generic retry libraries (e.g., `retry`), this one is tightly focused on fetch and handles rate limiting headers natively.
Resources
packagefetch-with-retries ↗
API endpoints
full doc /v1/registry/fetch-with-retries