{"library":"axios-token-refresh","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.0.10","tags":["javascript","axios","axios-refresh","refresh-token","authorization","interceptor","token-refresh","axios-interceptor","http-client","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install axios-token-refresh","imports":["import registerAxiosTokenRefresh from 'axios-token-refresh'","import type { RefreshRequestConfig } from 'axios-token-refresh'","import { AxiosInstance } from 'axios'"]},{"cmd":"yarn add axios-token-refresh","imports":[]},{"cmd":"pnpm add axios-token-refresh","imports":[]}],"homepage":"https://github.com/Duc-Developer/axios-token-refresh#readme","github":"https://github.com/Duc-Developer/axios-token-refresh","docs":null,"changelog":null,"pypi":null,"npm":"axios-token-refresh","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}