Detect Mocha in any GitHub repo

Mocha is one of the testing technologies Stack Fingerprint recognises automatically when it scans a public repository.

How Mocha is detected

Stack Fingerprint reads the repo's full file tree in one GitHub API call and flags Mocha when it finds any of these:

  • Files or folders: /^\.mocharc/
  • Dependencies in package.json: mocha

Mocha README badge

A static badge you can paste anywhere in Markdown:

Mocha badge

Markdown
![Mocha](https://img.shields.io/badge/Mocha-8D6748?style=for-the-badge&logo=mocha&logoColor=white)

Or let the repo describe itself

Static badges go stale the moment you swap a dependency. A Stack Fingerprint card is generated from the repo, so Mocha (and everything around it) appears or disappears on its own:

README.md
[![Stack Fingerprint](https://stackfingerprint.vercel.app/api/card?repo=OWNER/REPO)](https://stackfingerprint.vercel.app/?repo=OWNER/REPO)

Replace OWNER/REPO with your repository, or open the builder to pick a theme and layout.