Skip to content
JS
Package

chai

BDD/TDD assertion library for node.js and the browser. Test framework agnostic.

v6.2.2, 22 Dec 2025MITESM onlyTypes: NoneTesting
$ npm install chai

Key numbers

As of 25 Sept 2026
Weekly downloads
85.9m
+273% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
9 months ago
v6.2.2
GitHub stars
8.3k
725 forks
Open issues / PRs
83 / 9
Contributors
204
Commits, last 52 weeks
121

Downloads

Last week 2026-09-15 to 2026-09-21
050m100m150mSept 2025Mar 2026Sept 2026High 116.1m (25 Aug 2026)Low 16.3m (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.

85,876,376 downloads last week, 410,936,404 in the last month. The 12-month change of +273% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
4104 in total
Latest version
6.2.2, 22 Dec 20259 months ago
First published
7 Dec 2011
Last push to GitHub
23 Sept 20261 day before the snapshot
Repository archived
No
Open issues
83
Open pull requests
9
Commits, last 52 weeks
121
Dependents on npm
10,618

Major versions

  1. v6 first release 6.0.0, 22 Aug 2025
  2. v5 first release 5.0.0, 28 Dec 2023
  3. v4 first release 4.0.0, 26 May 2017
  4. v3 first release 3.0.0, 3 Jun 2015
  5. v2 first release 2.0.0, 11 Feb 2015
  6. v1 first release 1.0.0, 15 May 2012
  7. v0 first release 0.0.1, 7 Dec 2011

Recent releases

VersionPublished
6.2.222 Dec 2025
6.2.111 Nov 2025
6.2.027 Sept 2025
6.1.027 Sept 2025
5.3.322 Aug 2025
6.0.122 Aug 2025
6.0.022 Aug 2025
5.3.222 Aug 2025
5.3.118 Aug 2025
5.3.018 Aug 2025
5.2.218 Aug 2025
5.2.18 Jul 2025
5.2.014 Feb 2025
5.1.223 Oct 2024
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=18
Runtimes
-
Unpacked size (npm)
143 kB
Dependencies (0)
None
npm install chai

CDN

jsDelivr: 649.1k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/chai@6.2.2/
  • unpkghttps://unpkg.com/chai@6.2.2/
  • esm.shhttps://esm.sh/chai@6.2.2
PackageWeekly downloadsGzipLast releaseModuleComparison
mocha10.8m-7 days agoESM only-
should3.4m-8 years agoESM + CommonJS-
jasmine-core5m-1 month agoCommonJS-
sinon8.3m-2 months agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.