Chai
Assertion library for Node.js and the browser that pairs with any JavaScript test framework.
www.chaijs.com/repositorydocsplugins
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.
Sources
- 2026-11-04: links
www.chaijs.com/ - 2026-11-04: links, License, Written in, Categories, Install with, GitHub stars
github.com/chaijs/chai - 2026-11-04: links
www.chaijs.com/api/ - 2026-11-04: Maintainer, License model
github.com/chaijs/chai/blob/main/LICENSE - 2026-11-04: Runtime, Minimum runtime
github.com/chaijs/chai/blob/v6.3.0/package.json - 2026-11-04: npm downloads a week
api.npmjs.org/downloads/range/2026-10-26:2026-11-01/chai - 2026-11-04: Contributors
api.github.com/repos/chaijs/chai/contributors?per_page=1 - 2026-11-04: Current major version, Last release
github.com/chaijs/chai/releases/tag/v6.3.0 - 2026-11-04: First release
registry.npmjs.org/chai