Skip to content
JS
Package

esmocha

[Mocha](https://mochajs.org) wrapper with built-in [typescript](https://github.com/node-loaders/loaders/tree/main/workspaces/esbuild), built-in [expect](https://jestjs.io/docs/expect) with [mock](https://github.com/node-loaders/loaders/tree/main/workspace

v5.0.0No license fieldESM onlyTypes: BundledTestingTypeScript tooling
$ npm install esmocha

Key numbers

As of 25 Sept 2026
Weekly downloads
2k
-42% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
5
Direct, from package.json
Last release
-
v5.0.0
GitHub stars
1
1 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
3

Downloads

Last week 2026-09-15 to 2026-09-21
02k4k6kSept 2025Mar 2026Sept 2026High 5.4k (30 Sept 2025)Low 779 (17 Mar 2026)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

2,043 downloads last week, 10,670 in the last month. The 12-month change of -42% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
5.0.0
First published
-
Last push to GitHub
13 Dec 2025286 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
3
Dependents on npm
-

Major versions

-

Recent releases

-

Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
^18.19.0 || ^20.9.0 || ^22.0.0 || >=24.0.0
Runtimes
-
Unpacked size (npm)
14 kB
Dependencies (5)
quibblejest-mockstack-utils@types/mochamocha-expect-snapshot
Peer dependencies (2)
mocha@node-loaders/esbuild
npm install esmocha
  • jsDelivrhttps://cdn.jsdelivr.net/npm/esmocha@5.0.0/
  • unpkghttps://unpkg.com/esmocha@5.0.0/
  • esm.shhttps://esm.sh/esmocha@5.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
jest-matchmedia-mock69.4k-6 years agoCommonJS-
@deanwhillier/jest-matchmedia-mock8.1k-4 years agoCommonJS-
tinyspy36.2m-20 days agoESM only-
ts-auto-mock27k-2 years ago--
earl8.7k-11 months agoESM + CommonJS-
ts-mockito172k-6 years agoCommonJS-
fishery637.2k-9 months agoESM + CommonJS-
ts-jest-mocker45.3k-1 year agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 2043 < 10000.