Skip to content
JS
Package

vitest-auto-spy

Auto-generate fully-typed test spies from a class — across Vitest, Bun, node:test and Rstest, with Angular/NestJS/React/Vue/Svelte recipes. Drop-in replacement for jest-auto-spies and jasmine-auto-spies.

v5.29.0, 24 Sept 2026MITESM + CommonJSTypes: BundledTestingVue
$ npm install vitest-auto-spy

Key numbers

As of 25 Sept 2026
Weekly downloads
3.3k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
today
v5.29.0
GitHub stars
10
0 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
1,064

Downloads

Last week 2026-09-15 to 2026-09-21
02k4k6k8kSept 2025Mar 2026Sept 2026High 7.2k (25 Aug 2026)Low 0 (23 Sept 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

3,330 downloads last week, 21,883 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
5.29.0, 24 Sept 2026today
First published
-
Last push to GitHub
25 Sept 2026same day as the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
1,064
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)
4.0 MB
Dependencies (0)
None
Peer dependencies (7)
rxjsvitest@angular/core@angular/forms@angular/common@angular/router@angular/platform-browser
npm install vitest-auto-spy
  • jsDelivrhttps://cdn.jsdelivr.net/npm/vitest-auto-spy@5.29.0/
  • unpkghttps://unpkg.com/vitest-auto-spy@5.29.0/
  • esm.shhttps://esm.sh/vitest-auto-spy@5.29.0
PackageWeekly downloadsGzipLast releaseModuleComparison
ts-mockito172k-6 years agoCommonJS-
ts-auto-mock27k-2 years ago--
strong-mock23.3k-4 months agoESM + CommonJS-
vitest-mock-express18.5k-2 years agoESM only-
@jest-mock/express502.9k-1 year agoCommonJS-
@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 3330 < 10000.