Key numbers
As of 25 Sept 2026
- Weekly downloads
- 543.7k
- -9% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 4 months ago
- v4.0.3
- GitHub stars
- 733
- 38 forks
- Open issues / PRs
- 0 / 5
- Contributors
- -
- Commits, last 52 weeks
- 9
Downloads
Last week 2026-09-15 to 2026-09-21
543,739 downloads last week, 2,679,078 in the last month. The 12-month change of -9% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 437 in total
- Latest version
- 4.0.3, 26 Apr 20264 months ago
- First published
- 17 Jan 2018
- Last push to GitHub
- 26 Apr 2026151 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 5
- Commits, last 52 weeks
- 9
- Dependents on npm
- -
Major versions
- v4 first release 4.0.0, 23 Mar 2026
- v3 first release 3.0.0, 29 Oct 2020
- v2 first release 2.0.0, 22 Oct 2018
- v1 first release 1.0.2, 17 Jan 2018
Recent releases
| Version | Published |
|---|---|
| 4.0.3 | 26 Apr 2026 |
| 4.0.2 | 15 Apr 2026 |
| 4.0.1 | 24 Mar 2026 |
| 4.0.0 | 23 Mar 2026 |
| 3.7.0 | 3 Dec 2024 |
| 3.6.0 | 7 Aug 2023 |
| 3.5.2 | 24 Oct 2022 |
| 3.5.1 | 7 Feb 2022 |
| 3.5.0 | 14 Dec 2021 |
| 3.4.2 | 28 Oct 2021 |
| 3.4.1 | 5 Oct 2021 |
| 3.4.0 | 19 Sept 2021 |
| 3.3.1 | 3 May 2021 |
| 3.3.0 | 30 Apr 2021 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 72 kB
- Dependencies (0)
- None
- Peer dependencies (1)
jest
npm install jest-when- jsDelivr
https://cdn.jsdelivr.net/npm/jest-when@4.0.3/ - unpkg
https://unpkg.com/jest-when@4.0.3/ - esm.sh
https://esm.sh/jest-when@4.0.3
Indexability: Not indexed (discovery only): no category.