axios-mock-adapter-path-params

JSON →
library 1.20.0 ·javascript
verified Jun 7, 2026

Fork of axios-mock-adapter that merges support for mocking requests with specific URL path parameters. v1.20.0 is the current stable release, with periodic updates. Key differentiator: allows matching requests based on path parameters like /users/:id, which the original adapter lacks. Supports ESM and CJS, includes TypeScript definitions, works in Node and browser, compatible with axios >= 0.9.0. Ideal for unit and integration testing of axios-based HTTP calls.