DEV Community

Debshankar Dey
Debshankar Dey

Posted on

Built a Production-Grade TypeScript Retry Utility — resilient-ts

I built resilient-ts

A TypeScript retry utility for flaky APIs, rate limits, and unstable async operations.

Started as a learning project and evolved into something focused on real production retry scenarios.

Features

  • Exponential / linear / fixed backoff
  • Jitter strategies (including decorrelated jitter)
  • Retry-After header support
  • Per-attempt + total timeouts
  • AbortSignal support
  • Conditional retry logic
  • Structured logging hooks

Tested Against

  • 429 rate limits
  • 503 temporary failures
  • Socket resets
  • Hanging requests
  • 50 concurrent retry events

Would love feedback from Node.js / TypeScript developers.

Links

Top comments (0)