FindSoftware

Chai

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

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 covers the styles and the plugin guide.

Identity

Status
Active
Maintainer
Chai.js Assertion Library4
First release
20119

Rendering and deploy

Install with
npm install2

Releases

Current major version
68
Last release
2026-09-308

Adoption

GitHub stars
8,2622
npm downloads a week
195,131,8756
Contributors
1777

Why these figures do not compare

Sources

  1. 2026-11-04: links
    www.chaijs.com/
  2. 2026-11-04: links, License, Written in, Categories, Install with, GitHub stars
    github.com/chaijs/chai
  3. 2026-11-04: links
    www.chaijs.com/api/
  4. 2026-11-04: Maintainer, License model
    github.com/chaijs/chai/blob/main/LICENSE
  5. 2026-11-04: Runtime, Minimum runtime
    github.com/chaijs/chai/blob/v6.3.0/package.json
  6. 2026-11-04: npm downloads a week
    api.npmjs.org/downloads/range/2026-10-26:2026-11-01/chai
  7. 2026-11-04: Contributors
    api.github.com/repos/chaijs/chai/contributors?per_page=1
  8. 2026-11-04: Current major version, Last release
    github.com/chaijs/chai/releases/tag/v6.3.0
  9. 2026-11-04: First release
    registry.npmjs.org/chai

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON