Skip to content
JS
Package

vitest-auto-mock

Library for mocking dependencies in Vitest with TypeScript without need to provide a path.

v0.1.3, 5 Feb 2026MITESM + CommonJSTypes: BundledTestingTypeScript tooling
$ npm install vitest-auto-mock

Key numbers

As of 25 Sept 2026
Weekly downloads
1.1k
+19% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
7 months ago
v0.1.3
GitHub stars
2
0 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
2

Downloads

Last week 2026-09-15 to 2026-09-21
01k2k3k4kSept 2025Mar 2026Sept 2026High 3.8k (14 Jul 2026)Low 211 (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.

1,095 downloads last week, 5,266 in the last month. The 12-month change of +19% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
0.1.3, 5 Feb 20267 months ago
First published
-
Last push to GitHub
5 Feb 2026232 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
2
Dependents on npm
0

Major versions

-

Recent releases

-

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

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