{"library":"ax-middleware","type":"library","category":null,"description":"A simple middleware service for axios HTTP requests. Version 0.4.0 is the final release as the package is deprecated. It allows intercepting axios requests and responses via middleware functions, supporting async handlers and custom adapters. Key differentiators: a clean middleware pattern with onRequest/onResponse/onSync hooks, vs axios's native interceptors. Requires axios >=0.17.1 <1.2.0. The package is unmaintained and alternatives should be considered.","language":"javascript","status":"deprecated","version":"0.4.0","tags":["javascript","axios","request","adapter","middleware","response","http"],"last_verified":"Wed May 27","install":[{"cmd":"npm install ax-middleware","imports":["import { HttpMiddlewareService } from 'axios-middleware'","import { Service } from 'axios-middleware'","const myMiddleware = { onRequest(config) { return config; } }"]},{"cmd":"yarn add ax-middleware","imports":[]},{"cmd":"pnpm add ax-middleware","imports":[]}],"homepage":"https://emileber.github.io/axios-middleware/#/","github":"https://github.com/emileber/axios-middleware","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/ax-middleware","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/ax-middleware/compatibility"}}