Skip to content
PluginStats

eslint-plugin-chai-expect weekly downloads statistics

By Turbo87 · npm · ESLint plugins

ESLint plugin that checks for common chai.js expect() mistakes

View on npm Fresh · Oct 17, 2026

eslint-plugin-chai-expect has 46,014 recorded weekly downloads on npm, a decrease of 46.1% over the past 30 days.

It ranks #580 of 2,251 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by -22.5%.

PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.

Weekly downloads
46,014
Official API · Oct 17, 2026
7-day growth
-51.5%
-48.8K weekly downloads
30-day growth
-46.1%
-39.4K weekly downloads
90-day growth
-22.5%
-13.4K weekly downloads
Rank
#580
Among tracked npm listings

About eslint-plugin-chai-expect

eslint-plugin-chai-expect

ESLint plugin that checks for common chai.js expect() mistakes

[!IMPORTANT] The recommended preset is for the ESLint legacy configuration system (.eslintrc.json). The recommended-flat configuration is for the new flat configuration system.

Requirements

• Node.js 20 or above • ESLint 2.x to 10.x

Installation

Configuration

Legacy ESLint Configuration Format (.eslintrc.json)

Add a plugins section and specify chai-expect as a plugin:

Enable the rules that you would like to use:

Or, if you just want the above defaults, you can avoid all of the above and just extend the config:

Flat ESLint Configuration Format (eslint.config.js)

Add a plugins section and specify chai-expect as a plugin and enable the rules that you would like to use:

Or, if you just want the above defaults, you can avoid all of the above and just extend the config:

Rules

• no-inner-compare - Prevent using comparisons in the expect() argument • no-inner-literal - Prevent using literals in the expect() argument (undefined, null, NaN, (+|-)Infinity, this, booleans, numbers, strings, and BigInt or regex literals) • missing-assertion - Prevent calling expect(...) without an assertion like .to.be.ok • terminating-properties - Prevent calling to.be.ok and other assertion properties as functions • no-uncalled-method - Prevent using to.throw and other assertion methods as properties without calling them

Additional configuration

terminating-properties rule

A number of extensions to chai add additional terminating properties. For example chai-http adds:

• headers • html • ip • json • redirect • text

The terminating-properties rule can be configured to ensure these (or other) additional properties are not used as functions:

no-uncalled-method rule

By default, this rule checks for throw, throws, and Throw. You can configure additional methods that should not be used as properties:

Development

Run yarn test to lint the project and run the tests with Node.js's built-in test runner. Use yarn unit-test to run only the tests.

Run yarn coverage for Node.js's experimental coverage report. Coverage is informational; no minimum coverage threshold is enforced.

License

eslint-plugin-chai-expect is licensed under the MIT License.

Description from the npm listing.

  • chai
  • eslint
  • eslint-plugin
  • eslintplugin

Where eslint-plugin-chai-expect sits in the listing

Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

All npm2,248 listings · 113 pages · page 29, #20 (overall #580)
All npm: every listing in weekly downloads order
PNG SVG
ESLint plugins252 listings · 13 pages · page 8, #1 (overall #141)
ESLint plugins: every listing in weekly downloads order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

eslint-plugin-chai-expect weekly downloads on npm, last 90 days: 46,014 weekly downloads as of Oct 17, 2026, -22.5% over 90 days.eslint-plugin-chai-expectWeekly downloads on npm · Last 90 days46,014downloads / week-22.5% over 90 days020K40K60K80K100K120KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
eslint-plugin-chai-expect weekly downloads on npm, last 90 days: 46,014 weekly downloads as of Oct 17, 2026, -22.5% over 90 days.
PNG SVG

7/30/90-day growth

eslint-plugin-chai-expect weekly downloads growth on npm: -51.5% over 7 days, -46.1% over 30 days, -22.5% over 90 days.eslint-plugin-chai-expectWeekly downloads growth on npm46,014downloads / week now7-day growth-48,840 weekly downloads-51.5%30-day growth-39,400 weekly downloads-46.1%90-day growth-13,376 weekly downloads-22.5%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
eslint-plugin-chai-expect weekly downloads growth on npm: -51.5% over 7 days, -46.1% over 30 days, -22.5% over 90 days.
PNG SVG

Ranking history

eslint-plugin-chai-expect npm ranking history: currently #580 (by weekly downloads).eslint-plugin-chai-expectnpm ranking · by weekly downloads · Last 90 days#580current rank#578#579#580#581#582Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
eslint-plugin-chai-expect npm ranking history: currently #580 (by weekly downloads).
PNG SVG

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Recent observations

Full history (121)
Recent weekly downloads observations for eslint-plugin-chai-expect
Date (UTC)Weekly downloadsChange vs. previous
46,014-8.8K
54,824+503
54,321-20.6K
74,920-22.5K
97,3840
97,384+1.5K
95,894+1K
94,854+3.2K
91,645+4.2K
87,457-2K
89,487-176
89,663-20.1K
109,771-2.9K
112,688—

Similar npm ESLint plugins plugins

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/eslint-plugin-chai-expect. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.