Skip to content
JS
Package

vitest-mock-express

A lightweight Vitest mock for unit testing Express

v2.2.0, 11 Mar 2024MITESM onlyTypes: BundledTestingTypeScript tooling
$ npm install vitest-mock-express

Key numbers

As of 25 Sept 2026
Weekly downloads
18.5k
+37% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
2 years ago
v2.2.0
GitHub stars
10
5 forks
Open issues / PRs
0 / 1
Contributors
-
Commits, last 52 weeks
5

Downloads

Last week 2026-09-15 to 2026-09-21
010k20k30k40kSept 2025Mar 2026Sept 2026High 38.7k (28 Jul 2026)Low 6.5k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

18,518 downloads last week, 97,791 in the last month. The 12-month change of +37% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.2.0, 11 Mar 20242 years ago
First published
-
Last push to GitHub
4 Aug 202651 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
1
Commits, last 52 weeks
5
Dependents on npm
0

Major versions

-

Recent releases

-

Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
472 kB
Dependencies (1)
@types/express
npm install vitest-mock-express
  • jsDelivrhttps://cdn.jsdelivr.net/npm/vitest-mock-express@2.2.0/
  • unpkghttps://unpkg.com/vitest-mock-express@2.2.0/
  • esm.shhttps://esm.sh/vitest-mock-express@2.2.0
PackageWeekly downloadsGzipLast releaseModuleComparison
@jest-mock/express502.9k-1 year agoCommonJS-
strong-mock23.3k-4 months agoESM + CommonJS-
ts-auto-mock27k-2 years ago--
@factory-js/prisma-factory6.5k-7 months agoESM + CommonJS-
ts-mockito172k-6 years agoCommonJS-
@web/dev-server-esbuild45.8k-2 months agoESM + CommonJS-
@web/dev-server-legacy7.9k-2 months agoESM + CommonJS-
moxios74.1k-9 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.