</>PackageGraphPackageGraph

jest

npmv30.5.1TypeScript

Delightful 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.

4
Direct dependencies

Runtime packages this one declares itself.

197
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

16 MB
Install size

Unpacked size of this package plus its entire runtime tree.

6
Tree depth

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

(MIT OR CC0-1.0)Apache-2.0BSD-3-ClauseBlueOak-1.0.0ISCMIT

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.

PackageWeekly downloadsDependentsLicenseLast release
jestthis page42.1M70MIT9 days ago
@jest/core02MIT1 day ago
jest-cli03MIT1 day ago
expect-type78.4M8Apache-2.01 day ago
@testing-library/jest-dom56M6MIT1 day ago
vitest92.7M129MIT1 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.

uuidnpm

RFC9562 UUIDs

254.8M/wk8 dependentsMITTS
yamlnpm

JavaScript parser and stringifier for YAML

176.1M/wk6 dependentsISCTS
undicinpm

An HTTP/1.1 client, written from scratch for Node.js

158.5M/wk15 dependentsMITTS
csstypenpm

Strict TypeScript and Flow types for style based on MDN data

142.8M/wk2 dependentsMITTS
ajv-keywordsnpm

Additional JSON-Schema keywords for Ajv JSON validator

61.4M/wk1 dependentsMITTS
webpacknpm

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.

49.8M/wk29 dependentsMITTS
dayjsnpm

2KB immutable date time library alternative to Moment.js with the same modern API

48.7M/wk1 dependentsMITTS
memoize-onenpm

A memoization library which only remembers the latest invocation

32.7M/wk3 dependentsMITTS
exponential-backoffnpm

A utility that allows retrying a function with an exponential delay between attempts.

25.7M/wk1 dependentsApache-2.0TS
react-native-workletsnpm

The React Native multithreading library

5.2M/wk4 dependentsMITTS
sync-message-portnpm

A Node.js communication port that can pass messages synchronously between workers

4.8M/wk1 dependentsMITTS
node-notifiernpm

A Node.js module for sending notifications on native Mac, Windows (post and pre 8) and Linux (or Growl as fallback)

3.8M/wk4 dependentsMIT
@libsql/clientnpm

libSQL driver for TypeScript and JavaScript

2M/wk1 dependentsMITTS
sass-embeddednpm

Node.js library that communicates with Embedded Dart Sass using the Embedded Sass protocol

0/wk1 dependentsMITTS
minimizer-webpack-pluginnpm

Minimizer plugin for webpack

0/wk1 dependentsMITTS
cross-spawnnpm

Cross platform child_process#spawn and child_process#spawnSync

0/wk9 dependentsMIT
koa-composenpm

compose Koa middleware

0/wk1 dependentsMIT
zone.jsnpm

Zones for JavaScript

0/wk1 dependentsMITTS
@libsql/client-wasmnpm

libSQL driver for TypeScript and JavaScript

0/wk1 dependentsMITTS
schema-utilsnpm

webpack Validation Utils

0/wk2 dependentsMITTS
gelnpm

The official Node.js client library for Gel

0/wk1 dependentsApache-2.0TS
@vercel/postgresnpm

Connect to Vercel Postgres databases on the Edge

0/wk1 dependentsApache-2.0TSdeprecated
watchpacknpm

Wrapper library for directory and file watching.

0/wk1 dependentsMITTS
@op-engineering/op-sqlitenpm

Fastest SQLite for React Native (with node.js support)

0/wk1 dependentsMITTS

Relationship graph

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

Frequently installed together

Release history

27 releases in the last two years, typically about 4 days apart.

Recent versions of jest
VersionPublishedSizeLicense
30.5.1latest9 days ago6.5 KBMIT
30.5.012 days ago6.5 KBMIT
30.4.24 months ago6.5 KBMIT
30.4.14 months ago6.5 KBMIT
30.4.04 months ago6.5 KBMIT
30.3.06 months ago6.4 KBMIT
30.2.011 months ago6.2 KBMIT
30.1.31 year ago6.2 KBMIT
30.1.21 year ago6.2 KBMIT
30.1.11 year ago6.2 KBMIT
30.1.01 year ago6.2 KBMIT
30.0.51 year ago6.2 KBMIT
30.0.41 year ago6.2 KBMIT
30.0.31 year ago6.2 KBMIT
30.0.21 year ago5.8 KBMIT

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.

Maintainers

Keywords

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.