{"library":"axios-mock-server","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"0.19.1","tags":["javascript","axios","test","mock"],"last_verified":"Wed May 27","install":[{"cmd":"npm install axios-mock-server","imports":["import { factory } from 'axios-mock-server';","import { connectToAxios } from 'axios-mock-server';","import { setupWorker } from 'axios-mock-server/node';"]},{"cmd":"yarn add axios-mock-server","imports":[]},{"cmd":"pnpm add axios-mock-server","imports":[]}],"homepage":null,"github":"https://github.com/solufa/axios-mock-server","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/axios-mock-server","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/axios-mock-server/compatibility"}}