mocha
npmactive
mocha last released 12.0.3 on 2026-10-01. Its latest version requires Node.js ^20.19.0 || >=22.12.0.
Facts
- Latest release
- 12.0.3, (23 days ago)
- First published
- (14 years ago)
- Releases in the last 12 months
- 32
- Median days between releases
- 9
- Median days between major versions
- 379
- Monthly downloads
- 60,428,619
- License
- MIT
- Repository
- github.com/mochajs/mocha
- Homepage
- mochajs.org
- Source
- registry.npmjs.org (checked 2026-10-19)
Major versions
13 major versions have been published.
| Major | First version | First released | Latest version | Latest released |
|---|---|---|---|---|
| 12 | 12.0.0 | 2026-08-31 | 12.0.3 | 2026-10-01 |
| 11 | 11.0.0 | 2024-11-11 | 11.8.0 | 2026-08-02 |
| 10 | 10.0.0 | 2022-05-01 | 10.8.2 | 2024-10-30 |
| 9 | 9.0.0 | 2021-06-07 | 9.2.2 | 2022-03-11 |
| 8 | 8.0.0 | 2020-06-10 | 8.4.0 | 2021-05-07 |
| 7 | 7.0.0 | 2020-01-04 | 7.2.0 | 2020-05-23 |
| 6 | 6.0.0 | 2019-02-18 | 6.2.3 | 2020-03-25 |
| 5 | 5.0.0 | 2018-01-18 | 5.2.0 | 2018-05-18 |
| 4 | 4.0.0 | 2017-10-03 | 4.1.0 | 2017-12-29 |
| 3 | 3.0.0 | 2016-08-01 | 3.5.3 | 2017-09-11 |
| 2 | 2.0.0 | 2014-10-22 | 2.5.3 | 2016-05-25 |
| 1 | 1.0.0 | 2012-03-24 | 1.21.5 | 2014-10-11 |
| 0 | 0.0.1 | 2011-11-22 | 0.14.1 | 2012-03-06 |
Runtime requirements
The latest version of mocha declares these runtime constraints.
| Runtime | Constraint | Minimum version | Since version | Since |
|---|---|---|---|---|
| Node.js | ^20.19.0 || >=22.12.0 | 20.19.0 | 12.0.0 | 2026-08-31 |
Supported runtimes
The latest version of mocha runs on 6 tracked runtime releases.
Keelbench tracks end-of-life dates for 469 products, updated daily. Check your repositories against these dates with Deps.