# Sinon.JS

Standalone JavaScript library of test spies, stubs and mocks that works with any unit testing framework.


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

## Record

### Links

- home: https://sinonjs.org/
- repository: https://github.com/sinonjs/sinon
- docs: https://sinonjs.org/

### Identity

- status: active
- maintainer: Christian Johansen
- maintainerType: unknown
- parent: unknown
- firstRelease: 2010
- 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, cdn

### License

- licenseModel: open-source
- license: BSD-3-Clause

### Releases

- currentMajor: 22
- latestReleaseDate: 2026-07-20

### Adoption

- githubStargazers: 9752
- packagistDownloads: not applicable
- npmWeeklyDownloads: 13913129
- contributors: 347
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: unknown
- dependentPackages: unknown

### Sources

- name: https://github.com/sinonjs/sinon/blob/main/README.md (read 2026-11-16)
- urls: https://sinonjs.org/ (read 2026-11-16)
- urls: https://api.github.com/repos/sinonjs/sinon (read 2026-11-16)
- urls: https://github.com/sinonjs/sinon/blob/main/README.md (read 2026-11-16)
- maintainer: https://github.com/sinonjs/sinon/blob/main/LICENSE (read 2026-11-16)
- firstRelease: https://registry.npmjs.org/sinon (read 2026-11-16)
- language: https://api.github.com/repos/sinonjs/sinon (read 2026-11-16)
- runtime: https://github.com/sinonjs/sinon/blob/main/COMPATIBILITY.md (read 2026-11-16)
- category: https://github.com/sinonjs/sinon/blob/main/README.md (read 2026-11-16)
- installMethod: https://github.com/sinonjs/sinon/blob/main/README.md (read 2026-11-16)
- installMethod: https://github.com/sinonjs/sinon/blob/main/README.md (read 2026-11-16)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/sinon (read 2026-11-16)
- license: https://registry.npmjs.org/sinon/latest (read 2026-11-16)
- licenseModel: https://github.com/sinonjs/sinon/blob/main/README.md (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/sinonjs/sinon (read 2026-11-16)
- contributors: https://api.github.com/repos/sinonjs/sinon/contributors?per_page=1&anon=false (read 2026-11-16)
- currentMajor: https://registry.npmjs.org/sinon/latest (read 2026-11-16)
- latestReleaseDate: https://registry.npmjs.org/sinon/latest (read 2026-11-16)

## Notes

Sinon.JS provides test spies, stubs and mocks for JavaScript tests. It is standalone and not tied to one test framework: the project's site says it works with any unit testing framework and the getting-started page names test runners such as Mocha, Jasmine and Jest. A browser build is also served from npm-based CDNs.

---

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
