</>PackageGraphPackageGraph

vitest

npmv4.1.10TypeScript

Next generation testing framework powered by Vite

73.1M
Weekly downloads
9
Dependents
60
Dependencies
100/100
Popularity

Overview

vitest is an npm package that next generation testing framework powered by Vite. It is extremely widely used, with about 73.1M downloads per week and 9 known dependents in the graph. The latest version is 4.1.10, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need next generation testing framework powered by Vite and value a battle-tested, widely-adopted solution.

When not to use it

Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.

Pros

  • Large, well-established user base (73.1M weekly downloads).
  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).

Cons

  • Large dependency tree (60 direct dependencies) increases install size and audit surface.

Auto-generated from collected registry metadata. No external claims are inferred.

Relationship graph

Dependencies (left) and dependents (right) of vitest.

Dependencies

Dev (28)

@antfu/install-pkg ^1.1.0@bomb.sh/tab ^0.0.14@edge-runtime/vm ^5.0.0@jridgewell/trace-mapping 0.3.31@opentelemetry/api ^1.9.0@sinonjs/fake-timers 15.0.0@types/estree ^1.0.8@types/istanbul-lib-coverage ^2.0.6@types/istanbul-reports ^3.0.4@types/jsdom ^27.0.0@types/node ^24.12.0@types/picomatch ^4.0.2@types/prompts ^2.4.9@types/sinonjs__fake-timers ^15.0.1acorn 8.11.3acorn-walk ^8.3.5birpc ^4.0.0cac ^6.7.14empathic ^2.0.0flatted ^3.4.2happy-dom ^20.8.3jsdom ^27.4.0local-pkg ^1.1.2mime ^4.1.0prompts ^2.4.2strip-literal ^3.1.0tinyhighlight ^0.3.2ws ^8.19.0

Used by

Popular packages that depend on vitest.

cookienpm

HTTP server cookie parsing and serialization

165.5M/wk1 dependentsMIT
magic-stringnpm

Modify strings, generate sourcemaps

153.8M/wk1 dependentsMITTS
content-typenpm

Create and parse HTTP Content-Type header

135.6M/wk3 dependentsMITTS
content-dispositionnpm

Create and parse Content-Disposition header

115.8M/wk1 dependentsMITTS
media-typernpm

Simple RFC 6838 media type parser and formatter

113.4M/wk2 dependentsMIT
axiosnpm

Promise based HTTP client for the browser and node.js

105.3M/wk0 dependentsMITTS
immernpm

Create your next immutable state by mutating the current one

50.2M/wk1 dependentsMITTS
@standard-schema/utilsnpm

The official runtime utils for Standard Schema

43M/wk1 dependentsMITTS
reselectnpm

Selectors for Redux.

37M/wk1 dependentsMITTS
pgnpm

PostgreSQL client - pure javascript & libpq with the same API

36.2M/wk0 dependentsMIT
reduxnpm

Predictable state container for JavaScript apps

35.6M/wk0 dependentsMITTS
react-reduxnpm

Official React bindings for Redux

28.8M/wk1 dependentsMITTS
redux-thunknpm

Thunk middleware for Redux.

24.4M/wk1 dependentsMITTS
@reduxjs/toolkitnpm

The official, opinionated, batteries-included toolset for efficient Redux development

22.6M/wk0 dependentsMITTS
drizzle-ormnpm

Drizzle ORM package for SQL databases

13.7M/wk0 dependentsApache-2.0TS
toad-cachenpm

LRU and FIFO caches for Client or Server

12.7M/wk1 dependentsMITTS
tarnnpm

Simple and robust resource pool for node.js

6.2M/wk2 dependentsMITTS
sveltenpm

Cybernetically enhanced web apps

4.7M/wk0 dependentsMITTS
esrapnpm

Parse in reverse

4.2M/wk1 dependentsMITTS
zimmerframenpm

A tool for walking ASTs

3.9M/wk2 dependentsMITTS
@sveltejs/acorn-typescriptnpm

Acorn plugin that parses TypeScript

3.5M/wk2 dependentsMITTS
@sqlite.org/sqlite-wasmnpm

SQLite Wasm conveniently wrapped as an ES Module.

597.3K/wk1 dependentsApache-2.0TS
std-envnpm

Runtime agnostic JS utils

0/wk2 dependentsMITTS
raw-bodynpm

Get and validate the raw body of a readable stream.

0/wk2 dependentsMITTS

Alternatives to vitest

Frequently installed together

Version history

VersionPublishedLicense
5.0.0-beta.613 days agoMIT
4.1.10latest13 days agoMIT
3.2.713 days agoMIT
5.0.0-beta.51 month agoMIT
4.1.91 month agoMIT
3.2.61 month agoMIT
5.0.0-beta.41 month agoMIT
3.2.51 month agoMIT
4.1.81 month agoMIT
4.1.72 months agoMIT
5.0.0-beta.32 months agoMIT
4.1.62 months agoMIT
5.0.0-beta.22 months agoMIT
5.0.0-beta.12 months agoMIT
4.1.52 months agoMIT
4.1.43 months agoMIT
4.1.33 months agoMIT
4.1.23 months agoMIT
4.1.13 months agoMIT
4.1.04 months agoMIT

Maintainers

Keywords

Funding

Frequently asked questions

How do I install vitest?

Run `npm install vitest` to add vitest to your npm project.

What license is vitest released under?

vitest is distributed under the MIT license.

How popular is vitest?

vitest has approximately 73,142,225 downloads per week and 9 known dependent packages.