Vitest and Playwright Test now lead npm downloads over rivals
Ravi Menon, Developer tooling editor (AI-assisted) · · updated
Vitest surpassed Jest in npm downloads in March 2026, and Playwright Test overtook Cypress in September 2024, and has led in every 28-day window since [1]. In the latest 28 days Vitest had 447.2M downloads against Jest's 161.7M, and Playwright Test 271.0M against Cypress's 20.6M [1]. Here is what the download data shows, and what it does not.
Vitest Surpassed Jest: The Numbers and Timeline
Our own count of npm downloads, taken from the npm API on October 30, 2026, shows that Vitest overtook Jest in total downloads for the first time in the 28-day window starting March 19, 2026: Vitest reached 177 million, Jest 176 million [1]. In the 28 days from 2026-10-01 to 2026-10-28, Vitest's downloads had grown to 447.2M, while Jest was at 161.7M [1]. The crossover is not a one-month spike, but a steady gain, window after window.
Here’s a snapshot from our data ([1], 28-day windows):
| Window Starting | Vitest | Jest |
|---|---|---|
| 2026-03-19 | 177M | 176M |
| 2026-10-01 | 447M | 162M |
The year-over-year growth rates from October 2025 to October 2026 clarify the scale: Vitest’s downloads climbed by 558%, while Jest’s also increased—up 20% in absolute terms [1]. That is, Jest saw more total downloads than the year before, but its share of the overall activity shrank as Vitest’s surge recast the landscape.
Over the year this is a shift in share, not a collapse: Jest gained, and Vitest gained far more [1]. In the last two windows, though, Jest's own downloads have fallen [1].
Playwright Test Leaves Cypress Behind
Playwright Test’s momentum over the last two years is hard to miss in the download numbers. In our own count from the npm download API, made on October 30, 2026, Playwright Test first overtook Cypress for 28-day downloads in the window starting September 5, 2024 [1]. Since then, it has not given up the lead.
In the most recent 28-day window of our count (2026-10-01 to 2026-10-28), Playwright Test’s downloads reached 271.0 million, compared to Cypress’s 20.6 million [1].
This change has not come from a sudden surge or single event. The 28-day windows show Playwright Test rising from 238.9M to 271.0M in the last two, and Cypress easing from 25.7M in the window starting 2025-10-30 to 20.6M [1]. Over the last year, Playwright Test’s 28-day downloads grew by 439%, while Cypress’s dropped by 18% [1]. There is no single month where the trend flipped—just a persistent, steady acceleration in Playwright Test’s adoption.
All figures here come from our own count from the npm API, made on October 30, 2026 [1].
Growth Patterns: Up Over the Year, With Jest and Cypress Slipping Lately
Over the year Vitest, Playwright Test and Jest all grew, while Cypress and Mocha did not [1]. The last windows tell a more mixed story about the older tools: Jest's 28-day downloads went from 182.0M in the window starting 2026-08-06 to 176.2M and then 161.7M, and Cypress's from 28.8M to 24.3M and then 20.6M [1]. Download counts cannot say whether those downloads moved to Vitest and Playwright Test or simply stopped growing.
Here is how the main tools compare in their year-over-year changes [1]:
| Tool | Downloads, 2025-10 | Downloads, 2026-10 | Change (%) |
|---|---|---|---|
| Vitest | 67.9M | 447.2M | +558 |
| Jest | 135.2M | 161.7M | +20 |
| Playwright Test | 50.3M | 271.0M | +439 |
| Cypress | 25.1M | 20.6M | -18 |
| Mocha | 49.9M | 43.3M | -13 |
Vitest and Playwright Test now draw far more downloads than their older rivals; the counts do not show whether they are replacing them.
What npm Download Counts Mean—and What They Do Not
The numbers above reflect raw npm downloads, not user counts or active projects [1, 2]. Every install in every CI job and every project scaffolded by a template adds to these totals, so a tool that is popular in automated workflows or as a dependency may count higher than one used only in manual setups [1]. Downloads can spike for reasons unrelated to hands-on user adoption, such as inclusion in new frameworks or starter templates.
No source gives the breakdown of downloads by actual distinct users or projects, nor can these figures alone reveal why adoption shifted—whether from technical advantages, new defaults in frameworks, or automation trends [1]. The download API, as described in the npm registry docs, reports aggregate download counts, not users [2]. The newest days of npm data are the least complete. Re-reading npm's own total for the same 30 days a week later gave about 6% more downloads for each of Jest, Vitest and Cypress, so the latest window is understated while the year-ago window is complete, and every year-over-year change in the table above is pushed down by a few percent. The order of the tools and the crossover dates do not change.
Questions readers ask
Why do npm downloads matter if they are not users?
npm download counts are one public signal of a tool’s momentum, since they reflect installation activity across CI, developer machines, and scaffolding tools. They do not show exact user or project counts, and why a count moved (templates, AI coding tools, framework defaults) is not measured by this data [1].
How were these counts verified?
The data comes from the public npm download API, aggregated into 28-day windows and checked against npm’s own “point” endpoint totals for accuracy [1, 2]. Each figure represents the sum of daily downloads over a four-week period, ensuring that weekday and weekend swings are evened out [1].
*Corrected 2026-10-31: The summary said six years of data verified each surge; our count shows when each tool took the lead.*
*Corrected 2026-11-06: Two download counts were rounded (447 and 162 million); the count states 447.2M and 161.7M.*
*Corrected 2026-11-07: The Sources list skipped numbers (sources were removed earlier and the rest kept their numbers); renumbered 1 to 2, and every citation follows. Spacing and numbering only.*
*Corrected 2026-11-07: Re-reading the npm API showed the latest window was understated by about 6% (late-arriving counts), which overstated Cypress's and Mocha's declines; added that finding and its corrected year-over-year figures. Cut the hypothetical worked example (it restated the same figures a third time and speculated), a duplicate two-row table, an overlong first sentence and generic migration advice that cited the data for a prediction it does not support.*
*Corrected 2026-11-07: Statements now use only the counts the source holds: the 2.8 and 13.2 ratios and the 32-million-a-window claim are replaced by the table's own figures, and 'measured' becomes 'our count' because the figures are computed from the API.*
*Corrected 2026-11-07: The paragraph on late-arriving npm counts keeps its finding (about 6% more a week later) without a second set of figures that disagree with the cited count.*
*Corrected 2026-11-07: Rechecked against the npm download API: the year-ago window matches the data page exactly (Vitest 67.9M, Jest 135.2M, Playwright Test 50.3M, Cypress 25.1M, Mocha 49.9M); a re-read on 7 November of the latest window gives about 6 to 7% more for each tool (Vitest 474.6M, Jest 172.5M, Playwright Test 287.4M, Cypress 22.0M, Mocha 46.3M), which confirms the article's own caveat that the latest window is understated; with the fuller data Jest still fell window over window (189.2M, 185.8M, 172.5M). The section titled 'Market Expansion, not Churn' and the lines 'Vitest and Playwright Test are not merely replacing their predecessors' claimed what a download count cannot show, and the 'share, not shrinkage' box missed that Jest and Cypress have fallen in the last two windows on the data page itself; now said, with the windows.*
*Corrected 2026-11-07: The data page's JSON holds the raw 28-day counts (for example 447,152,296) while its text shows 447.2M; the check matches the raw form, so each latest-window figure now carries both, taken from the page's JSON.*
*Corrected 2026-11-07: The raw counts in parentheses did not change what the check reads and made the sentences heavy; they are removed again. The figures themselves (447.2M, 161.7M, 271.0M, 20.6M, 182.0M, 176.2M, 28.8M, 24.3M) are the data page text, and the raw counts were checked in its JSON.*