Skip to content
PluginStats

babel-plugin-transform-remove-undefined weekly downloads statistics

By babel (206 listings) · npm · Babel plugins

This removes rvals that are equivalent to undefined wherever possible

View on npm Fresh · Dec 6, 2026

babel-plugin-transform-remove-undefined has 580,724 recorded weekly downloads on npm, an increase of 15.6% over the past 30 days, ranking #375 of 3,247 tracked listings.

Weekly downloads
580,724
Official API · Dec 5, 2026
7-day growth
+8.0%
+43.2K weekly downloads
30-day growth
+15.6%
+78.3K weekly downloads
90-day growth
+42.2%
+172.2K weekly downloads
Rank
#375
▼ 3 in 7 days

About babel-plugin-transform-remove-undefined

babel-plugin-transform-remove-undefined

For variable assignments, this removes rvals that evaluate to undefined (vars in functions only). For functions, this removes return arguments that evaluate to undefined.

Example

In

let a = void 0;
function foo() {
  var b = undefined;
  return undefined;
}

Out

let a;
function foo() {
  var b;
  return;
}

Installation

npm install babel-plugin-transform-remove-undefined --save-dev

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["babel-plugin-transform-remove-undefined"]
}
Via CLI
babel --plugins babel-plugin-transform-remove-undefined script.js
Via Node API
require("@babel/core").transform("code", {
  plugins: ["babel-plugin-transform-remove-undefined"]
});

Options

  • tdz - Detect usages before declaration/initialization in let/const(throws) and var(void 0)

Description from the npm listing.

  • babel-plugin

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

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

Adoption over time

babel-plugin-transform-remove-undefined weekly downloads on npm, last 90 days: 580,724 weekly downloads as of Dec 5, 2026, +42.2% over 90 days.babel-plugin-transform-remove-undefinedWeekly downloads on npm · Last 90 days580,724downloads / week+42.2% over 90 days0100K200K300K400K500K600KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
babel-plugin-transform-remove-undefined weekly downloads on npm, last 90 days: 580,724 weekly downloads as of Dec 5, 2026, +42.2% over 90 days.

7/30/90-day growth

babel-plugin-transform-remove-undefined weekly downloads growth on npm: +8.0% over 7 days, +15.6% over 30 days, +42.2% over 90 days.babel-plugin-transform-remove-undefinedWeekly downloads growth on npm580,724downloads / week now7-day growth+43,189 weekly downloads+8.0%30-day growth+78,275 weekly downloads+15.6%90-day growth+172,204 weekly downloads+42.2%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
babel-plugin-transform-remove-undefined weekly downloads growth on npm: +8.0% over 7 days, +15.6% over 30 days, +42.2% over 90 days.

Ranking history

babel-plugin-transform-remove-undefined npm ranking history: currently #375 (by weekly downloads).babel-plugin-transform-remove-undefinednpm ranking · by weekly downloads · Last 90 days#375current rank#100#150#200#250#300#350#400Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
babel-plugin-transform-remove-undefined npm ranking history: currently #375 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 19, #15 (overall #375)
All npm: every listing in weekly downloads order

Listing placement

Babel plugins263 listings · 14 pages · page 10, #8 (overall #188)
Babel plugins: every listing in weekly downloads order

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.

Each band is one page of 20. Weekly downloads on a linear 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.

Recent observations

Full history (592)
Recent weekly downloads observations for babel-plugin-transform-remove-undefined
Date (UTC)Weekly downloadsChange vs. previous
580,724+4.9K
575,872+8.8K
567,024+6.1K
560,892+5.4K
555,465+20.6K
534,859-3.3K
538,152+617
537,535+1.3K
536,217-8.1K
544,358-6.1K
550,490-9.2K
559,684+1.1K
558,585+23.3K
535,268—

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/babel-plugin-transform-remove-undefined. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.