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.
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
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- jsDelivr
https://cdn.jsdelivr.net/npm/vitest-auto-spy@5.29.0/ - unpkg
https://unpkg.com/vitest-auto-spy@5.29.0/ - esm.sh
https://esm.sh/vitest-auto-spy@5.29.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| ts-mockito | 172k | - | 6 years ago | CommonJS | - |
| ts-auto-mock | 27k | - | 2 years ago | - | - |
| strong-mock | 23.3k | - | 4 months ago | ESM + CommonJS | - |
| vitest-mock-express | 18.5k | - | 2 years ago | ESM only | - |
| @jest-mock/express | 502.9k | - | 1 year ago | CommonJS | - |
| @web/dev-server-esbuild | 45.8k | - | 2 months ago | ESM + CommonJS | - |
| @web/dev-server-legacy | 7.9k | - | 2 months ago | ESM + CommonJS | - |
| @factory-js/prisma-factory | 6.5k | - | 7 months ago | ESM + CommonJS | - |
Indexability: Not indexed (discovery only): downloads_week 3330 < 10000.