Axios Auth Refresh Queue

JSON →
library 2.0.2 ·javascript
verified Jun 7, 2026

Lightweight (< 1KB) zero-dependency Axios interceptor for automatic JWT refresh token handling. v2.0.2 (stable, actively maintained). Solves the race condition when multiple requests fail with 401 simultaneously by queuing requests, refreshing the token once, and retrying all. Unlike similar packages, it requires no configuration of retry limits, supports all environments (browser, Node, React Native), and ships TypeScript definitions.