Skip to content
JS
Package

vitest-console

Quickly mock various console methods in Vitest and track their calls with custom matchers

v0.2.1, 16 Oct 2025MITESM onlyTypes: BundledTestingDev servers and API mocking
$ npm install vitest-console

Key numbers

As of 25 Sept 2026
Weekly downloads
10.4k
+693% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
11 months ago
v0.2.1
GitHub stars
6
1 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
3

Downloads

Last week 2026-09-15 to 2026-09-21
010k20k30k40kSept 2025Mar 2026Sept 2026High 30.4k (28 Apr 2026)Low 659 (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.

10,384 downloads last week, 44,160 in the last month. The 12-month change of +693% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
0.2.1, 16 Oct 202511 months ago
First published
-
Last push to GitHub
16 Oct 2025343 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
3
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
>=18
Runtimes
-
Unpacked size (npm)
34 kB
Dependencies (0)
None
Peer dependencies (1)
vitest
npm install vitest-console
  • jsDelivrhttps://cdn.jsdelivr.net/npm/vitest-console@0.2.1/
  • unpkghttps://unpkg.com/vitest-console@0.2.1/
  • esm.shhttps://esm.sh/vitest-console@0.2.1
PackageWeekly downloadsGzipLast releaseModuleComparison
vitest-canvas-mock819.6k-20 days agoESM + CommonJS-
mocked-env75.4k-5 years agoCommonJS-
vitest-websocket-mock67.3k-14 days agoESM only-
jest-mock-vscode26k-1 month agoCommonJS-
mock-match-media31.2k-11 months agoESM + CommonJS-
@jedmao/redux-mock-store11.5k-6 years agoESM + CommonJS-
mock-xmlhttprequest94k-1 year agoESM + CommonJS-
jest-launchdarkly-mock76.6k-6 months agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.