vite-plugin-mock-simple
JSON →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`.
Traffic · last 30 days stale · no recent hits
total hits 18
actors 6 distinct systems
last hit 24d ago MJ12bot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇸🇬 Singapore · 🇩🇪 Germany · 🇫🇷 France
Resources
API endpoints
full doc /v1/registry/vite-plugin-mock-simple
compatibility /v1/registry/vite-plugin-mock-simple/compatibility