# @vitest/utils

> Shared Vitest utility functions

Latest version **5.0.2** (published 2026-09-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install @vitest/utils
pnpm add @vitest/utils
yarn add @vitest/utils
bun add @vitest/utils
```

## Health

**Score 60/100 (C)** — status: active.

Positive: no vulnerabilities; recently updated; high maintenance score; popular repo.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 5.0.2 |
| Published | 2026-09-25 |
| First published | 2023-01-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 17159 |
| Maintainers | ariperkkio, antfu, hiogawa, oreanno, yyx990803 |

## Links

- npm: https://www.npmjs.com/package/@vitest/utils
- Repository: https://github.com/vitest-dev/vitest
- Homepage: https://github.com/vitest-dev/vitest/tree/main/packages/utils
- Issues: https://github.com/vitest-dev/vitest/issues
- Funding: https://opencollective.com/vitest
- npm.io page: https://npm.io/package/@vitest/utils

## Recent versions

- 5.0.2 (latest) — 2026-09-25
- 5.0.0-rc.4 (rc) — 2026-08-31
- 5.0.0-beta.7 (beta) — 2026-07-24
- 3.2.7 (V3) — 2026-07-06
- 5.0.1 — 2026-09-15
- 5.0.0 — 2026-09-03
- 5.0.0-rc.3 — 2026-08-28
- 4.1.11 — 2026-08-18
- 5.0.0-rc.2 — 2026-08-17
- 5.0.0-rc.1 — 2026-08-11
- 5.0.0-beta.6 — 2026-07-06
- 4.1.10 — 2026-07-06
- 5.0.0-beta.5 — 2026-06-15
- 4.1.9 — 2026-06-15
- 3.2.6 — 2026-06-01
- … 193 more at https://npm.io/package/@vitest/utils/versions

## README

# @vitest/utils

[![NPM version](https://img.shields.io/npm/v/@vitest/utils?color=a1b858&label=)](https://npmx.dev/package/@vitest/utils)

Internal shared utilities used by other Vitest packages.

[GitHub](https://github.com/vitest-dev/vitest/tree/main/packages/utils) | [Documentation](https://vitest.dev/)

---
_Source: https://npm.io/package/@vitest/utils · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
