Skip to content
JS
Package

sinon-chai

Extends Chai with assertions for the Sinon.JS mocking framework.

v4.0.1, 22 Aug 2025(BSD-2-Clause OR WTFPL)ESM onlyTypes: NoneTesting
$ npm install sinon-chai

Key numbers

As of 25 Sept 2026
Weekly downloads
902.9k
-5% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
1 year ago
v4.0.1
GitHub stars
1.1k
101 forks
Open issues / PRs
16 / 3
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5mSept 2025Mar 2026Sept 2026High 1.3m (21 Oct 2025)Low 408.7k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

902,885 downloads last week, 3,924,829 in the last month. The 12-month change of -5% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
036 in total
Latest version
4.0.1, 22 Aug 20251 year ago
First published
13 Feb 2012
Last push to GitHub
22 Aug 2025398 days before the snapshot
Repository archived
No
Open issues
16
Open pull requests
3
Commits, last 52 weeks
0
Dependents on npm
635

Major versions

  1. v4 first release 4.0.0, 25 Jul 2024
  2. v3 first release 3.0.0, 6 Mar 2018
  3. v2 first release 2.0.0, 15 May 2012
  4. v1 first release 1.0.0, 13 Feb 2012

Recent releases

VersionPublished
4.0.122 Aug 2025
4.0.025 Jul 2024
3.7.025 May 2021
3.6.023 Mar 2021
3.5.020 Feb 2020
3.4.024 Dec 2019
3.3.026 Nov 2018
3.2.012 Jun 2018
3.1.023 May 2018
3.0.06 Mar 2018
2.14.028 Sept 2017
2.13.014 Aug 2017
2.12.018 Jul 2017
2.11.011 Jun 2017
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
15 kB
Dependencies (0)
None
Peer dependencies (2)
chaisinon
npm install sinon-chai
  • jsDelivrhttps://cdn.jsdelivr.net/npm/sinon-chai@4.0.1/
  • unpkghttps://unpkg.com/sinon-chai@4.0.1/
  • esm.shhttps://esm.sh/sinon-chai@4.0.1
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.