Skip to content
JS
Comparison

mocha vs jasmine-core

TestingPackage data 25 Sept 2026
mochav12.0.2, 17 Sept 2026

Classic, reliable, trusted test framework for Node.js and the browser

$ npm install mocha
jasmine-corev7.0.2, 20 Aug 2026

Simple JavaScript testing framework for browsers and node.js

$ npm install jasmine-core
Metricmochajasmine-coreDifference
Weekly downloads10,779,6334,957,557mocha 2.2x higher
12-month download growth+4%-9%mocha +13 pts
Gzip size---
Minified size---
Dependencies160mocha 16 more
Unpacked size1.4 MB435 kBjasmine-core 3.2x smaller
Latest release12.0.2, 17 Sept 20267.0.2, 20 Aug 2026mocha 29 days more recent
Releases, last 12 months812jasmine-core 4 more
First published8 Nov 201124 Jan 2014mocha 2.2 years earlier
GitHub stars22,89815,814mocha +45%
Open issues1925mocha 187 more
Open pull requests492mocha 47 more
Contributors---
Commits, last 52 weeks405209mocha 1.9x higher
TypeScript typesNoneNoneSame
Module formatESM onlyCommonJSDiffers
Runtimes---
LicenseMITMITSame

Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.

mocha10.8m latest weekjasmine-core5m latest week
Week of 23 Sept 2025Week of 15 Sept 2026
Weekly npm downloads, 52 weeks. Y axis starts at zero. Values are not smoothed.

mocha

Major versions
  1. 0.0.122 Nov 2011
  2. 1.0.024 Mar 2012
  3. 2.0.022 Oct 2014
  4. 3.0.01 Aug 2016
  5. 4.0.03 Oct 2017
  6. 5.0.018 Jan 2018
  7. 6.0.018 Feb 2019
  8. 7.0.04 Jan 2020
  9. 8.0.010 Jun 2020
  10. 9.0.07 Jun 2021
  11. 10.0.01 May 2022
  12. 11.0.011 Nov 2024
  13. 12.0.031 Aug 2026
Last 5 releases
  1. 12.0.217 Sept 2026
  2. 12.0.111 Sept 2026
  3. 12.0.031 Aug 2026
  4. 11.8.02 Aug 2026
  5. 11.7.621 May 2026
211 releases in total, 8 in the last 12 months

jasmine-core

Major versions
  1. 2.0.024 Jan 2014
  2. 3.0.06 Feb 2018
  3. 4.0.01 Jan 2022
  4. 5.0.013 May 2023
  5. 6.0.017 Jan 2026
  6. 7.0.015 Aug 2026
Last 5 releases
  1. 7.0.220 Aug 2026
  2. 7.0.115 Aug 2026
  3. 7.0.015 Aug 2026
  4. 6.3.06 Jun 2026
  5. 6.2.011 Apr 2026
81 releases in total, 12 in the last 12 months
mocha

-

jasmine-core

-

mocha

-

jasmine-core

-

  • Need no runtime dependenciesjasmine-core (mocha has 16, jasmine-core has 0)
  • Need both ESM and CommonJS entry pointsNeither (mocha: ESM only; jasmine-core: CommonJS)
  • Need to load it with require()jasmine-core
  • Need TypeScript types in the package itselfNeither (mocha: None; jasmine-core: None)
  • Node.js version requirementmocha: ^20.19.0 || >=22.12.0; jasmine-core: none declared (engines field in package.json)
  • Need the more recent releasemocha (12.0.2 on 17 Sept 2026 vs 7.0.2 on 20 Aug 2026)
  • Higher weekly npm downloadsmocha (10.8m vs 5m)

Each line is generated from the data above.

Indexability: Indexed.