@vitest/browser enables running Vitest tests directly within a web browser environment. This unlocks testing scenarios that require a browser, such as component testing with frameworks like React, Vue, or Svelte. It simplifies debugging by utilizing browser developer tools. It also allows testing in various browsers without requiring headless environments. This package streamlines your testing workflow and expands the scope of your Vitest capabilities to include real browser interactions.
The @vitest/browser package saw frequent releases from mid-2022 to early 2024, with several months having 5+ versions. Release frequency slowed in late 2023 and parts of 2024. A period of high activity resumed in early 2025, primarily in January, February and June. The most recent months on the data show zero releases. Versioning jumped from 0.x to 1.x in late 2023 and is currently in the 3.x range.
@vitest/browser downloads show strong growth from February 2024 to July 2025, climbing from 252,210 to over 5 million. Growth accelerated significantly in early 2025. August 2025 downloads are significantly lower, but the month is not yet complete.