# Mocha

JavaScript test framework that runs test suites on Node.js and in the browser.


Source: https://findsoftware.frbit.cloud/mocha/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- home: https://mochajs.org/
- repository: https://github.com/mochajs/mocha
- docs: https://mochajs.org
- discord: https://discord.gg/KeDn2uXhER

### Identity

- status: active
- maintainer: OpenJS Foundation
- maintainerType: foundation
- parent: unknown
- firstRelease: 2011
- hqCountry: unknown

### Kind

- category: testing
- hosting: not applicable
- language: javascript
- runtime: node
- runtimeMin: not applicable
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: unknown
- renderingModes: not applicable
- installMethod: npm

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 12
- latestReleaseDate: 2026-10-01

### Adoption

- githubStargazers: 22912
- packagistDownloads: not applicable
- npmWeeklyDownloads: 14596355
- contributors: 423
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: unknown
- dependentPackages: unknown

### Sources

- urls: https://mochajs.org/ (read 2026-11-16)
- urls: https://api.github.com/repos/mochajs/mocha (read 2026-11-16)
- urls: https://github.com/mochajs/mocha/blob/main/README.md (read 2026-11-16)
- maintainer: https://github.com/mochajs/mocha/blob/main/LICENSE (read 2026-11-16)
- firstRelease: https://registry.npmjs.org/mocha (read 2026-11-16)
- language: https://api.github.com/repos/mochajs/mocha (read 2026-11-16)
- runtime: https://github.com/mochajs/mocha/blob/main/docs/src/content/docs/index.mdx (read 2026-11-16)
- category: https://github.com/mochajs/mocha/blob/main/README.md (read 2026-11-16)
- installMethod: https://github.com/mochajs/mocha/blob/main/docs/src/content/docs/getting-started.mdx (read 2026-11-16)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/mocha (read 2026-11-16)
- license: https://api.github.com/repos/mochajs/mocha (read 2026-11-16)
- licenseModel: https://github.com/mochajs/mocha/blob/main/LICENSE (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/mochajs/mocha (read 2026-11-16)
- contributors: https://api.github.com/repos/mochajs/mocha/contributors?per_page=1 (read 2026-11-16)
- currentMajor: https://github.com/mochajs/mocha/releases/tag/v12.0.3 (read 2026-11-16)
- latestReleaseDate: https://github.com/mochajs/mocha/releases/tag/v12.0.3 (read 2026-11-16)

## Notes

Mocha is a JavaScript test framework. Tests are written as describe and it blocks in test files and run with the mocha command, which the getting started page installs as a development dependency and starts with npx. It runs on Node.js and in the browser. The same page shows a test script in package.json for starting it in a project.

## Worth knowing

The getting started page states a minimum Node.js version for the current major.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
