Type definitions are available in the @types/chai package


  • Version 4.3.4
  • Published
  • 744 kB
  • 6 dependencies
  • MIT license


npm i chai
yarn add chai
pnpm add chai


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

Dependencies (6)

Dev Dependencies (10)

Peer Dependencies (0)

No peer dependencies.


To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/chai.

  • Markdown
  • HTML
    <a href="https://www.jsdocs.io/package/chai"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>