axios-jwt
JSON →Axios interceptor library for automatic JWT token storage, transmission, and refresh. Current stable version 4.0.3 (released Oct 2023), actively maintained. Supports both web (localStorage/sessionStorage) and React Native (AsyncStorage). Key differentiator: parses JWT expiration to proactively refresh before every request, preventing 401 errors. Requires explicit token refresh function provided by user, supports rotating refresh tokens. ESM/CJS compatible, ships TypeScript types. Peer dependencies: @react-native-async-storage/async-storage (React Native only) and axios ^1.4.0.