GitHub

mocha vs jest

Estimated humans, week by week

  • mocha
  • jest
  • npm downloads (same color, dashed)

The 12-month chart is drawn in the browser from the npm API.

mocha vs jest: which is more popular?

packagenpm / weekhumans / week inflationconfidence
mocha 15,502,722 15,489,933–15,502,722 less than 1% high
jest 61,364,548 61,347,004–61,364,548 less than 1% high

Snapshot from the daily build of Nov 3, 2026, last 7 days of npm data. With JavaScript on, this page recomputes it live with a 12-month chart.

By estimated real human installs, jest is ahead of mocha by about 4.0×: about 61,362,671 vs 15,497,807 a week. npm's raw counts are 15,502,722 for mocha and 61,364,548 for jest, which include mirrors, scanners and crawlers.

How the estimate works

  1. Cut the spike every new version gets from mirrors in its first days.
  2. Subtract the flat floor robots download from every version each week.
  3. Show what is left as a range, with an honest confidence level.

Read the methodology