jest
npmv30.5.1TypeScriptDelightful JavaScript Testing.
Not recommended for new projects
No — jest should not be adopted for new projects. Pulls in 197 transitive packages, about 16 MB installed (at least — some of the tree is still being crawled). This package exposes a 197-package audit surface.
- AAdoption: grade A, Excellent.
42.1M downloads per week and 70 known dependents.
- AMaintenance: grade A, Excellent.
Last published 9 days ago. 27 releases in the last 2 years.
- FWeight: grade F, Failing.
Pulls in 197 transitive packages, about 16 MB installed (at least — some of the tree is still being crawled).
- CSupply chain: grade C, Fair — worth a look.
This package exposes a 197-package audit surface.
- ALicense: grade A, Excellent.
MIT — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding jest to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.
Licenses in the dependency tree
Every license you inherit by installing jest, not just its own. Check this before a legal review, not after.
Compatibility
- Node.js
- node ^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0
- Module format
- ESM + CommonJS
- TypeScript
- Types included
- Install scripts
- None
jest vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| jestthis page | 42.1M | 70 | MIT | 9 days ago |
| @jest/core | 0 | 2 | MIT | 1 day ago |
| jest-cli | 0 | 3 | MIT | 1 day ago |
| expect-type | 78.4M | 8 | Apache-2.0 | 1 day ago |
| @testing-library/jest-dom | 56M | 6 | MIT | 1 day ago |
| vitest | 92.7M | 129 | MIT | 1 day ago |
Dependencies
Declared by jest v30.5.1. Runtime dependencies are installed with the package; dev dependencies are not.
Used by
Popular packages that depend on jest.
RFC9562 UUIDs
JavaScript parser and stringifier for YAML
An HTTP/1.1 client, written from scratch for Node.js
Strict TypeScript and Flow types for style based on MDN data
Additional JSON-Schema keywords for Ajv JSON validator
Packs ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
2KB immutable date time library alternative to Moment.js with the same modern API
A memoization library which only remembers the latest invocation
A utility that allows retrying a function with an exponential delay between attempts.
The React Native multithreading library
A Node.js communication port that can pass messages synchronously between workers
A Node.js module for sending notifications on native Mac, Windows (post and pre 8) and Linux (or Growl as fallback)
libSQL driver for TypeScript and JavaScript
Node.js library that communicates with Embedded Dart Sass using the Embedded Sass protocol
Minimizer plugin for webpack
Cross platform child_process#spawn and child_process#spawnSync
compose Koa middleware
Zones for JavaScript
libSQL driver for TypeScript and JavaScript
webpack Validation Utils
The official Node.js client library for Gel
Connect to Vercel Postgres databases on the Edge
Wrapper library for directory and file watching.
Fastest SQLite for React Native (with node.js support)
Relationship graph
Dependencies (left) and dependents (right) of jest.
Frequently installed together
TypeScript definitions for node
React is a JavaScript library for building user interfaces.
An AST-based pattern checker for JavaScript.
Prettier is an opinionated code formatter
A framework for building native apps using React
SQLite Wasm conveniently wrapped as an ES Module.
Babel preset for TypeScript.
The Expo SDK
React is a JavaScript library for building user interfaces.
TypeScript execution environment and REPL for node.js, with source map support
Lightweight debugging utility for Node.js and the browser
Jest plugin to use babel for transformation.
Release history
27 releases in the last two years, typically about 4 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 30.5.1latest | 9 days ago | 6.5 KB | MIT |
| 30.5.0 | 12 days ago | 6.5 KB | MIT |
| 30.4.2 | 4 months ago | 6.5 KB | MIT |
| 30.4.1 | 4 months ago | 6.5 KB | MIT |
| 30.4.0 | 4 months ago | 6.5 KB | MIT |
| 30.3.0 | 6 months ago | 6.4 KB | MIT |
| 30.2.0 | 11 months ago | 6.2 KB | MIT |
| 30.1.3 | 1 year ago | 6.2 KB | MIT |
| 30.1.2 | 1 year ago | 6.2 KB | MIT |
| 30.1.1 | 1 year ago | 6.2 KB | MIT |
| 30.1.0 | 1 year ago | 6.2 KB | MIT |
| 30.0.5 | 1 year ago | 6.2 KB | MIT |
| 30.0.4 | 1 year ago | 6.2 KB | MIT |
| 30.0.3 | 1 year ago | 6.2 KB | MIT |
| 30.0.2 | 1 year ago | 5.8 KB | MIT |
Overview
jest is an npm package that delightful JavaScript Testing. It is extremely widely used, with about 42.1M downloads per week and 70 known dependents in the graph. The latest version is 30.5.1, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need delightful JavaScript Testing and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (42.1M weekly downloads).
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
- Trusted by 70 other packages.
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Frequently asked questions
Should I use jest?
No — jest should not be adopted for new projects. Pulls in 197 transitive packages, about 16 MB installed (at least — some of the tree is still being crawled). This package exposes a 197-package audit surface.
How do I install jest?
Run `npm install jest` to add jest to your npm project.
How many dependencies does jest have?
jest declares 5 direct dependencies and pulls in 197 packages in total once its runtime tree is resolved totalling about 16 MB on disk.
What license is jest released under?
jest is distributed under the MIT license. Its dependency tree also includes: (MIT OR CC0-1.0), Apache-2.0, BSD-3-Clause, BlueOak-1.0.0, ISC, MIT.
How popular is jest?
jest has approximately 42,103,333 downloads per week and 70 known dependent packages.
Is jest still maintained?
The most recent release of jest (v30.5.1) was published 9 days ago.
Does jest run install scripts?
No. jest does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.