axios-token-refresh

JSON →
library 1.0.10 ·javascript
verified Jun 7, 2026

axios-token-refresh (v1.0.10) is a lightweight Axios interceptor utility that automatically retries failed HTTP requests after a token refresh. It requires a custom refresh function and optionally configurable status codes (default 401). Ships TypeScript definitions, supports Bun >=1.2.12, and peer depends on axios >=0.21.1. Differentiates from similar libraries by minimal API surface and clear error handling.