vite-plugin-mock-simple

JSON →
library 1.0.3 ·javascript maintenance
verified Apr 27, 2026

A lightweight Vite plugin providing local mock APIs during development, with HMR support for mock files. Version 1.0.3 (stable, last release unchanged from 1.0.1) is a TypeScript-based fork of vite-plugin-mock-server with zero dependencies. Supports ant-style path patterns, JSON bodies, custom handlers, and configurable delays. Differentiators: zero external dependencies beyond Vite, simple API using arrays of route definitions, and optional JSON shorthand via `jsonBody`.

total hits 14
actors 4 distinct systems
last hit 6d ago human
GPTBot
5
MetaBot
3
Search engines
1
Humans
2

top countries 🇺🇸 United States · 🇨🇦 Canada · OM