{"library":"axios-auth-refresh","type":"library","category":null,"description":"Axios plugin for automatic token refresh via request interceptors. Current stable version 5.0.2, actively maintained. Key differentiator: it stalls concurrent requests during token refresh and resolves them once a new token is available, preventing duplicate refresh calls. Requires axios >= 1.0.0 as a peer dependency. Ships TypeScript definitions. The library itself is lightweight (~1.2kB minified) and only intercepts 401 status codes by default, but allows custom status codes via options.","language":"javascript","status":"active","version":"5.0.2","tags":["javascript","axios","authentication","authorization","refresh token","access token","interceptor","auto refresh","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install axios-auth-refresh","imports":["import { createAuthRefresh } from 'axios-auth-refresh';","import { AxiosAuthRefreshRequestConfig } from 'axios-auth-refresh';","import type { AxiosAuthRefreshOptions } from 'axios-auth-refresh';"]},{"cmd":"yarn add axios-auth-refresh","imports":[]},{"cmd":"pnpm add axios-auth-refresh","imports":[]}],"homepage":"https://github.com/Flyrell/axios-auth-refresh#readme","github":"https://github.com/Flyrell/axios-auth-refresh","docs":null,"changelog":null,"pypi":null,"npm":"axios-auth-refresh","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}