Skip to content
PluginStats

@ava/babel-plugin-throws-helper weekly downloads statistics

By ava · npm · Babel plugins

Babel plugin for protecting against improper use of `t.throws()` in AVA

View on npm Fresh · Oct 17, 2026

@ava/babel-plugin-throws-helper has 32,894 recorded weekly downloads on npm, a decrease of 52.6% over the past 30 days.

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

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

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

Weekly downloads
32,894
Official API · Oct 17, 2026
7-day growth
-46.3%
-28.4K weekly downloads
30-day growth
-52.6%
-36.5K weekly downloads
90-day growth
-49.0%
-31.6K weekly downloads
Rank
#646
Among tracked npm listings

About @ava/babel-plugin-throws-helper

babel-plugin-throws-helper

Babel plugin for protecting against improper use of t.throws() in AVA

Probably not useful except as an internal plugin for the AVA test runner.

Genesis of the idea.

Issue

I've seen a lot of incorrect use of the throws assertion in other test runner and even done the mistake myself sometimes. Now I'm beginning to see it with AVA too, so would be nice to be preemptive about it.

People don't realize they need to wrap their call in a function, so many end up doing t.throws(foo()) instead of t.throws(() => foo());. It's an easy mistake to make.

The difficulty is that t.throws(foo()) is allowed if foo() returns a promise or a function. There is no good way to differentiate between the two at runtime. So providing a good error message is going to take some AST transform magic.

Solution

See test.js.md for the transformation this plugin performs.

License

MIT © James Talmage

Description from the npm listing.

  • babel-plugin
  • babel
  • helper
  • ava
  • assertion
  • throws

Where @ava/babel-plugin-throws-helper 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 33, #6 (overall #646)
All npm: every listing in weekly downloads order
PNG SVG
Babel plugins251 listings · 13 pages · page 13, #5 (overall #245)
Babel plugins: every listing in weekly downloads order
PNG SVG

Charts

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

Adoption over time

@ava/babel-plugin-throws-helper weekly downloads on npm, last 90 days: 32,894 weekly downloads as of Oct 17, 2026, -49.0% over 90 days.@ava/babel-plugin-throws-helperWeekly downloads on npm · Last 90 days32,894downloads / week-49.0% over 90 days30K40K50K60K70K80K90K100KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
@ava/babel-plugin-throws-helper weekly downloads on npm, last 90 days: 32,894 weekly downloads as of Oct 17, 2026, -49.0% over 90 days.
PNG SVG

7/30/90-day growth

@ava/babel-plugin-throws-helper weekly downloads growth on npm: -46.3% over 7 days, -52.6% over 30 days, -49.0% over 90 days.@ava/babel-plugin-throws-helperWeekly downloads growth on npm32,894downloads / week now7-day growth-28,356 weekly downloads-46.3%30-day growth-36,499 weekly downloads-52.6%90-day growth-31,631 weekly downloads-49.0%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
@ava/babel-plugin-throws-helper weekly downloads growth on npm: -46.3% over 7 days, -52.6% over 30 days, -49.0% over 90 days.
PNG SVG

Ranking history

@ava/babel-plugin-throws-helper npm ranking history: currently #646 (by weekly downloads).@ava/babel-plugin-throws-helpernpm ranking · by weekly downloads · Last 90 days#646current rank#644#645#646#647#648Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
@ava/babel-plugin-throws-helper npm ranking history: currently #646 (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 @ava/babel-plugin-throws-helper
Date (UTC)Weekly downloadsChange vs. previous
32,894-7.9K
40,744-377
41,121-11K
52,134-11.9K
64,0030
64,003+1.7K
62,322+1.1K
61,250-313
61,563-445
62,008-1.6K
63,645+938
62,707-13.1K
75,764-1.4K
77,144—

Similar npm Babel 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/@ava/babel-plugin-throws-helper. First seen Oct 16, 2026; last successful collection Oct 16, 2026. See the methodology.