# Chai

Assertion library for Node.js and the browser that pairs with any JavaScript test framework.


Source: https://findsoftware.frbit.cloud/chai/
Last reviewed: 2026-11-04
Listed since: 2026-11-04

## Record

### Links

- home: https://www.chaijs.com/
- repository: https://github.com/chaijs/chai
- docs: https://www.chaijs.com/api/
- plugins: https://www.chaijs.com/plugins/
- forum: https://groups.google.com/group/chaijs

### Identity

- status: active
- maintainer: Chai.js Assertion Library
- maintainerType: unknown
- parent: unknown
- firstRelease: 2011
- hqCountry: unknown

### Kind

- category: testing
- hosting: not applicable
- language: javascript
- runtime: node
- runtimeMin: node 18
- 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 install

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 6
- latestReleaseDate: 2026-09-30

### Adoption

- githubStargazers: 8262
- packagistDownloads: not applicable
- npmWeeklyDownloads: 195131875
- contributors: 177
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: unknown
- dependentPackages: unknown

### Sources

- urls: https://www.chaijs.com/ (read 2026-11-04)
- urls: https://github.com/chaijs/chai (read 2026-11-04)
- urls: https://www.chaijs.com/api/ (read 2026-11-04)
- maintainer: https://github.com/chaijs/chai/blob/main/LICENSE (read 2026-11-04)
- license: https://github.com/chaijs/chai (read 2026-11-04)
- licenseModel: https://github.com/chaijs/chai/blob/main/LICENSE (read 2026-11-04)
- language: https://github.com/chaijs/chai (read 2026-11-04)
- runtime: https://github.com/chaijs/chai/blob/v6.3.0/package.json (read 2026-11-04)
- runtimeMin: https://github.com/chaijs/chai/blob/v6.3.0/package.json (read 2026-11-04)
- category: https://github.com/chaijs/chai (read 2026-11-04)
- installMethod: https://github.com/chaijs/chai (read 2026-11-04)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-10-26:2026-11-01/chai (read 2026-11-04)
- githubStargazers: https://github.com/chaijs/chai (read 2026-11-04)
- contributors: https://api.github.com/repos/chaijs/chai/contributors?per_page=1 (read 2026-11-04)
- currentMajor: https://github.com/chaijs/chai/releases/tag/v6.3.0 (read 2026-11-04)
- latestReleaseDate: https://github.com/chaijs/chai/releases/tag/v6.3.0 (read 2026-11-04)
- firstRelease: https://registry.npmjs.org/chai (read 2026-11-04)
- urls: https://github.com/chaijs/chai (read 2026-11-04)

## Notes

Chai is an assertion library for Node.js and the browser. It offers three styles, assert, expect and should, and works with any JavaScript test framework. Plugins extend the assertions through a plugin API that the project documents.

The package is installed from npm as a development dependency. In a browser page, the index.js file from the same npm install loads as an ES module. The [documentation](https://www.chaijs.com/) covers the styles and the plugin guide.

---

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
