vitest
npmv4.1.10TypeScriptNext generation testing framework powered by Vite
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
Runtime (20)
Peer (12)
Dev (28)
Used by
Popular packages that depend on vitest.
HTTP server cookie parsing and serialization
Modify strings, generate sourcemaps
Create and parse HTTP Content-Type header
Create and parse Content-Disposition header
Simple RFC 6838 media type parser and formatter
Promise based HTTP client for the browser and node.js
Create your next immutable state by mutating the current one
The official runtime utils for Standard Schema
Selectors for Redux.
PostgreSQL client - pure javascript & libpq with the same API
Predictable state container for JavaScript apps
Official React bindings for Redux
Thunk middleware for Redux.
The official, opinionated, batteries-included toolset for efficient Redux development
Drizzle ORM package for SQL databases
LRU and FIFO caches for Client or Server
Simple and robust resource pool for node.js
Cybernetically enhanced web apps
Parse in reverse
A tool for walking ASTs
Acorn plugin that parses TypeScript
SQLite Wasm conveniently wrapped as an ES Module.
Runtime agnostic JS utils
Get and validate the raw body of a readable stream.
Alternatives to vitest
V8 coverage provider for Vitest
Istanbul coverage provider for Vitest
Delightful JavaScript Testing.
Jest's expect matchers as a Chai plugin
Fork of pretty-format with support for ESM
Delightful JavaScript Testing.
Vitest module mocker implementation
Vitest snapshot manager
Vitest test runner
Delightful JavaScript Testing.
Lightweight Jest compatible spy implementation
Browser running for Vitest
Frequently installed together
TypeScript definitions for node
V8 coverage provider for Vitest
An AST-based pattern checker for JavaScript.
Prettier is an opinionated code formatter
Native-ESM powered web dev build tool
An extremely fast JavaScript and CSS bundler and minifier.
React is a JavaScript library for building user interfaces.
ECMAScript parser
TypeScript Execute (tsx): Node.js enhanced with esbuild to run TypeScript & ESM files
Universal filesystem path utils
Browser running for Vitest
TypeScript definitions for react
Version history
| Version | Published | License |
|---|---|---|
| 5.0.0-beta.6 | 13 days ago | MIT |
| 4.1.10latest | 13 days ago | MIT |
| 3.2.7 | 13 days ago | MIT |
| 5.0.0-beta.5 | 1 month ago | MIT |
| 4.1.9 | 1 month ago | MIT |
| 3.2.6 | 1 month ago | MIT |
| 5.0.0-beta.4 | 1 month ago | MIT |
| 3.2.5 | 1 month ago | MIT |
| 4.1.8 | 1 month ago | MIT |
| 4.1.7 | 2 months ago | MIT |
| 5.0.0-beta.3 | 2 months ago | MIT |
| 4.1.6 | 2 months ago | MIT |
| 5.0.0-beta.2 | 2 months ago | MIT |
| 5.0.0-beta.1 | 2 months ago | MIT |
| 4.1.5 | 2 months ago | MIT |
| 4.1.4 | 3 months ago | MIT |
| 4.1.3 | 3 months ago | MIT |
| 4.1.2 | 3 months ago | MIT |
| 4.1.1 | 3 months ago | MIT |
| 4.1.0 | 4 months ago | MIT |
Maintainers
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.