Axios Mock Server

JSON →
library 0.19.1 ·javascript
verified May 27, 2026

axios-mock-server is a development dependency designed to provide a RESTful mock server that integrates directly with Axios, removing the need for a separate backend server during client-side development and testing. It enables developers to define API endpoints as JavaScript or TypeScript files, utilizing an auto-routing mechanism that mirrors Nuxt.js's file-system-based routing. This library facilitates mocking HTTP requests made via Axios in both browser (SPA) and Node.js environments. The current stable version is 0.19.1, with a consistent cadence of patch and minor releases focusing on bug fixes, dependency updates, and feature enhancements. Its key differentiators include its serverless nature, intuitive file-based routing for mock definitions, and robust TypeScript support, making it an efficient tool for API mocking.

total hits 29
actors 10 distinct systems
last hit 1d ago Amazonbot
ByteDance
6
Amazonbot
5
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
2

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇩🇪 Germany · 🇨🇦 Canada · 🇫🇷 France