node-fetch-retry-timeout
JSON →Minimalistic drop-in replacement for node-fetch with built-in retry and timeout support. Current version 1.2.1. It distinguishes itself from alternatives by configuring retries via attempt count (not total duration), supporting per-request timeouts via AbortController, and allowing dynamic option changes on each retry via beforeRetry callback. Offers flexible retry logic using a callback based on HTTP response status. Active maintenance.
Resources
packagenode-fetch-retry-timeout ↗