Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

ts-mocha

Mocha wrapper for running TypeScript tests directly with ts-node without compilation.

TestingNPM

GitHubWebsite

1. License

License from npm.

github.com/piotrwitek/ts-mocha

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What ts-mocha does

Mocha wrapper for running TypeScript tests directly with ts-node without compilation.

ts-mocha popularity

47 / 100
Gid Score, #2297 overall
750K
downloads a week, npm
194
GitHub stars
1
agent projects use it
ts-mocha: downloads per weeknpm, ts-mocha 750,204
ts-mocha: GitHub starspiotrwitek/ts-mocha 194

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How ts-mocha is used

  • ts-mocha is a dependency in 1 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 221 projects, and what it is used with below comes from all of them.
  • The most used alternative in our scan is Vitest (1,312 projects).
  • Projects that use it most often also use Mocha (98.2%), Chai (97.7%), Solana Web3.js (91.9%).

Often used with

In 98.2% of its projects
In 97.7% of its projects
In 91.9% of its projects
In 68.8% of its projects
In 66.1% of its projects
In 70.6% of its projects
In 100.0% of its projects
In 26.2% of its projects

More about ts-mocha

More in Testing

Alternatives

ts-mocha This page

MITGid 47750K/wk

Vitest

Next-generation testing framework powered by Vite with native ESM.

MITGid 86194M/wk

Jest

Delightful JavaScript testing framework with minimal configuration.

MITGid 8663.2M/wk

Compare ts-mocha with another tool

Get started

Install it.

npm install ts-mocha

No step-by-step start for ts-mocha yet: we have not written its hand-checked card.