Skip to content
JS
Package

vite-plugin-mock-dev-server

Vite Plugin for API mock dev server.

v2.4.2, 23 Jul 2026MITESM onlyTypes: BundledDev servers and API mockingBundler plugins and loaders
$ npm install vite-plugin-mock-dev-server

Key numbers

As of 25 Sept 2026
Weekly downloads
9.6k
+84% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
16
Direct, from package.json
Last release
2 months ago
v2.4.2
GitHub stars
257
21 forks
Open issues / PRs
3 / 7
Contributors
-
Commits, last 52 weeks
109

Downloads

Last week 2026-09-15 to 2026-09-21
05k10k15kSept 2025Mar 2026Sept 2026High 13.6k (9 Jun 2026)Low 4.6k (30 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

9,557 downloads last week, 45,472 in the last month. The 12-month change of +84% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.4.2, 23 Jul 20262 months ago
First published
-
Last push to GitHub
19 Sept 20265 days before the snapshot
Repository archived
No
Open issues
3
Open pull requests
7
Commits, last 52 weeks
109
Dependents on npm
5

Major versions

-

Recent releases

-

Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
^20.19.0 || >=22
Runtimes
-
Unpacked size (npm)
124 kB
Dependencies (16)
wscorsobugansisjson5co-bodycookieschokidarlocal-pkgpicomatchformidablemime-typestinyglobbyhttp-statuspath-to-regexp@pengzhanbo/utils
Peer dependencies (4)
viteesbuildrolldownzstd-codec
npm install vite-plugin-mock-dev-server
  • jsDelivrhttps://cdn.jsdelivr.net/npm/vite-plugin-mock-dev-server@2.4.2/
  • unpkghttps://unpkg.com/vite-plugin-mock-dev-server@2.4.2/
  • esm.shhttps://esm.sh/vite-plugin-mock-dev-server@2.4.2
PackageWeekly downloadsGzipLast releaseModuleComparison
@web/rollup-plugin-copy27.2k-2 months agoESM + CommonJS-
@web/rollup-plugin-import-meta-assets11k-2 months agoESM + CommonJS-
cross-inspect7m-2 years agoESM + CommonJS-
rollup-plugin-workbox14.4k-2 months agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 9557 < 10000.