Preparing for system design interviews?  Try bugzed.com →

Vite Plugin Fake Server

JSON →
library 2.2.3 ·javascript
verified Jun 17, 2026

vite-plugin-fake-server provides a robust fake server solution for Vite development environments, intercepting both XHR and Fetch requests to simulate API responses. The current stable version is 2.2.3, and the project demonstrates an active release cadence with frequent bug fixes and feature enhancements, including recent compatibility updates for Vite 8. Key differentiators include its agnostic approach to data generation libraries (allowing use of Faker.js, Mock.js, etc.), support for both ESM and CommonJS modules, comprehensive TypeScript typings via `defineFakeRoute`, and compatibility with various file types (`.ts`, `.js`, `.mjs`, etc.). It also supports custom HTTP headers, status codes, and can even be configured for independent deployment, offering flexibility for mocking in both development and production scenarios.

total hits 9
actors 3 distinct systems
last hit 20d ago AhrefsBot
GPTBot
4
Script
1

top countries 🇨🇦 Canada · 🇺🇸 United States · 🇩🇪 Germany