retry-my-fetch
JSON →A decorator for the Fetch API (native, isomorphic-fetch, cross-fetch) that adds configurable automatic retry logic with support for timeouts, AbortController, JWT token refresh via beforeRefetch callback, and status-code-based skip logic. Version 1.4.1 is stable with TypeScript declarations included. Differentiators: lightweight (no dependencies), promise-based retry with max count, timeout between retries, and a flexible beforeRefetch hook for modifying requests on each attempt.
Resources
packageretry-my-fetch ↗