Package
vitest-fail-on-console
Utility to make vitest tests fail when console.error() or console.warn() are used
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 327k
- +122% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- 1 year ago
- v0.10.1
- GitHub stars
- 55
- 13 forks
- Open issues / PRs
- 8 / 12
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
326,969 downloads last week, 1,545,474 in the last month. The 12-month change of +122% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 025 in total
- Latest version
- 0.10.1, 4 Sept 20251 year ago
- First published
- 28 Dec 2022
- Last push to GitHub
- 15 Nov 2025313 days before the snapshot
- Repository archived
- No
- Open issues
- 8
- Open pull requests
- 12
- Commits, last 52 weeks
- 0
- Dependents on npm
- 3
Major versions
- v0 first release 0.0.1, 28 Dec 2022
Recent releases
| Version | Published |
|---|---|
| 0.10.1 | 4 Sept 2025 |
| 0.10.0 | 26 Aug 2025 |
| 0.9.0 | 7 Aug 2025 |
| 0.8.0 | 27 Jul 2025 |
| 0.7.1 | 2 Sept 2024 |
| 0.7.0 | 10 May 2024 |
| 0.6.3 | 18 Mar 2024 |
| 0.6.2 | 29 Feb 2024 |
| 0.6.1 | 29 Feb 2024 |
| 0.6.0 | 26 Feb 2024 |
| 0.5.1 | 18 Aug 2023 |
| 0.5.0 | 5 Aug 2023 |
| 0.4.2 | 22 Jul 2023 |
| 0.4.1 | 23 Jun 2023 |
- Module format
- ESM onlyFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 230 kB
- Dependencies (1)
chalk- Peer dependencies (3)
vitevitest@vitest/utils
npm install vitest-fail-on-console- jsDelivr
https://cdn.jsdelivr.net/npm/vitest-fail-on-console@0.10.1/ - unpkg
https://unpkg.com/vitest-fail-on-console@0.10.1/ - esm.sh
https://esm.sh/vitest-fail-on-console@0.10.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| has-only | 23.2k | - | 8 years ago | CommonJS | - |
| cypress-localstorage-commands | 150.1k | - | 6 months ago | CommonJS | - |
| jest-util | 89.1m | - | 23 days ago | ESM + CommonJS | - |
| mutation-testing-metrics | 1.8m | - | 1 month ago | ESM only | - |
| mocked-env | 75.4k | - | 5 years ago | CommonJS | - |
| its-name | 59.6k | - | 9 years ago | CommonJS | - |
| deep-equal-ident | 90.5k | - | 10 years ago | CommonJS | - |
| lodash-match-pattern | 46.1k | - | 4 years ago | CommonJS | - |
Indexability: Indexed.