chai-parentheses

JSON →
library 0.0.2 ·javascript
verified May 1, 2026

Chai plugin that converts terminating property assertions (true, false, null, etc.) into function-call form to avoid lint errors and ensure assertions are actually executed. v0.0.2 is the latest stable version, released as a maintenance fork of dirty-chai that works with modern bundlers (ESM/CJS compatibility). Key differentiator vs. dirty-chai: fixes bundler issues without changing API. Supports custom error messages and works with other Chai plugins when loaded first. Ships TypeScript types.

total hits 24
actors 7 distinct systems
last hit 4d ago AhrefsBot
Amazonbot
3
ByteDance
3
MetaBot
3
GPTBot
2
Humans
2

top countries 🇺🇸 United States · 🇩🇪 Germany · 🇸🇬 Singapore · 🇨🇦 Canada · 🇪🇸 Spain