Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

uvu

github.com

  • Free plan
  • Web
7.4 Club score Visit github.com

What uvu is

uvu is a free test runner for Node.js and browser projects, intended to run with a lightweight footprint. Tests can use async/await, native ES modules, and a familiar API, and each test file can run on its own with Node.js. Test callbacks may return Promises, and tests can be grouped into named suites or registered through the simpler test interface. The optional CLI collects and executes suites, with controls for stopping at the first failure, ignoring patterns, preloading modules, setting a working directory, and colorizing output. For directory-based selection, it accepts a regular-expression pattern rather than relying on glob patterns. The optional `uvu/assert` module works in browsers and can be replaced with another assertion library, including Node.js's native `assert`. The project supports snapshot testing. Install it with `npm install --save-dev uvu`; using the CLI is optional. The repository identifies uvu as MIT-licensed and credits Luke Edwards, and package metadata specifies Node.js version `>=8`.

Who it suits

uvu is suited to developers writing tests for Node.js or browser projects. Its individually runnable files and optional CLI offer flexibility for different test-running setups.

Good to know, and what to watch

  • Test files can run individually with Node.js.
  • Supports async tests and native ES modules.
  • Browser-compatible runner and assertion module.
  • CLI offers pattern, preload, and failure controls.
  • Directory matching uses regular expressions, not glob patterns.
  • The CLI is optional rather than required for suite execution.
  • Package metadata requires Node.js version `>=8`.

uvu

Free

Free plan

The verdict

uvu covers core test-runner needs across Node.js and browser projects, with flexible file execution and optional CLI controls. It is free and MIT-licensed, though directory selection uses regular expressions instead of glob patterns.

What the maker publishes

Assertions
The optional uvu/assert module can be replaced with another assertion library, including Node.js's native assert module. source
Assertions
The optional `uvu/assert` module works in Node.js and browser contexts, and the documentation says existing assertion libraries can be used instead. source
Async tests
Test callbacks may be asynchronous and may return a Promise. source
Browser support
The README says uvu is browser-compatible, and its assertion module is also browser-compatible. source
CLI
The CLI collects and executes test suites, and using it is optional. source
CLI
The CLI collects and executes test suites, and using it is optional because test files can be run directly with Node.js. source
CLI options
The CLI supports options to stop on the first failure, ignore patterns, preload modules, set a working directory, and colorize output. source
Features
Its listed features include individually executable test files, async/await tests, native ES Modules, browser compatibility, and a familiar API. source
File isolation
The documentation says test files are self-contained and can be run individually with Node.js. source
File matching
The CLI intentionally does not rely on glob patterns and accepts a regular-expression pattern when a directory is specified. source
Glob behavior
The CLI intentionally does not rely on glob patterns and accepts regular-expression patterns instead. source
Install
The README gives `npm install --save-dev uvu` as the installation command. source
Installation
The README gives npm install --save-dev uvu as its installation command. source
Integrations
The README demonstrates using `uvu` with Node.js and shows `esm` as a preload for legacy Node.js versions. source
Intended users
The project describes uvu as a test runner for Node.js and browser projects. source
License
The repository identifies uvu as MIT licensed and credits Luke Edwards. source
License
The repository identifies uvu as MIT licensed. source
Maintainer
The README credits Luke Edwards and links to his personal site, which identifies him as a full stack developer and web designer in San Francisco. source
Organization
Tests can be organized into named suites or registered through the simpler `test` interface. source
Purpose
uvu describes itself as an extremely fast and lightweight test runner for Node.js and the browser. source
Purpose
uvu is a fast, lightweight test runner for Node.js and the browser. source
Runtime requirement
The package metadata specifies Node.js version `>=8`. source
Test execution
It supports individually executable test files, async/await tests, native ES modules, and a familiar API. source
Test selection
The CLI supports directory and pattern arguments, ignore patterns, module preloads, a working directory option, colorized output, and exiting on the first failure. source

Checked against the maker's pages on 8 Oct 2026.