Skip to content
PluginStats

babel-plugin-transform-define weekly downloads statistics

By FormidableLabs (3 listings) · npm · Babel plugins

Babel plugin that replaces member expressions and typeof statements with strings

View on npm Fresh · Oct 17, 2026

babel-plugin-transform-define has 100,955 recorded weekly downloads on npm, a decrease of 42.1% over the past 30 days.

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

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

PluginStats has 543 daily observations since Apr 23, 2025; the latest is from Oct 17, 2026.

Weekly downloads
100,955
Official API · Oct 17, 2026
7-day growth
-49.9%
-100.6K weekly downloads
30-day growth
-42.1%
-73.4K weekly downloads
90-day growth
-45.8%
-85.2K weekly downloads
Rank
#450
Among tracked npm listings

About babel-plugin-transform-define

Compile time code replacement for babel similar to Webpack's DefinePlugin

Quick Start

.babelrc

.babelrc.js

Reference Documentation

babel-plugin-transform-define can transform certain types of code as a babel transformation.

Identifiers

*.babelrc*

*Source Code*

*Output Code*

Member Expressions

*.babelrc*

*Source Code*

*Output Code*

Unary Expressions

*.babelrc*

*Source Code*

*Output Code*

License

MIT License

Maintenance Status

Stable: Formidable is not planning to develop any new features for this project. We are still responding to bug reports and security concerns. We are still welcoming PRs for this project, but PRs that include new features should be small and easy to integrate and should not include breaking changes.

Description from the npm listing.

  • babel-plugin
  • babel-transform
  • babel
  • define
  • DefinePlugin
  • webpack

Where babel-plugin-transform-define 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 23, #10 (overall #450)
All npm: every listing in weekly downloads order
PNG SVG
Babel plugins251 listings · 13 pages · page 12, #2 (overall #222)
Babel plugins: every listing in weekly downloads order
PNG SVG

Charts

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

Adoption over time

babel-plugin-transform-define weekly downloads on npm, last 90 days: 100,955 weekly downloads as of Oct 17, 2026, -45.8% over 90 days.babel-plugin-transform-defineWeekly downloads on npm · Last 90 days100,955downloads / week-45.8% over 90 days100K120K140K160K180K200K220K240K260K280KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 21, 2026 – Oct 17, 2026 · 89 observations · Updated Oc…pluginstats.com
babel-plugin-transform-define weekly downloads on npm, last 90 days: 100,955 weekly downloads as of Oct 17, 2026, -45.8% over 90 days.
PNG SVG

7/30/90-day growth

babel-plugin-transform-define weekly downloads growth on npm: -49.9% over 7 days, -42.1% over 30 days, -45.8% over 90 days.babel-plugin-transform-defineWeekly downloads growth on npm100,955downloads / week now7-day growth-100,620 weekly downloads-49.9%30-day growth-73,355 weekly downloads-42.1%90-day growth-85,177 weekly downloads-45.8%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
babel-plugin-transform-define weekly downloads growth on npm: -49.9% over 7 days, -42.1% over 30 days, -45.8% over 90 days.
PNG SVG

Ranking history

babel-plugin-transform-define npm ranking history: currently #450 (by weekly downloads).babel-plugin-transform-definenpm ranking · by weekly downloads · Last 90 days#450current rank#150#200#250#300#350#400#450#500Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 17, 2026 – Oct 18, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
babel-plugin-transform-define npm ranking history: currently #450 (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 (543)
Recent weekly downloads observations for babel-plugin-transform-define
Date (UTC)Weekly downloadsChange vs. previous
100,955-21.4K
122,318+780
121,538-45.2K
166,739-40.4K
207,1030
207,103+1.2K
205,901+4.3K
201,575+8K
193,574+10.2K
183,363+4K
179,327-5.3K
184,655-41.6K
226,227-5.3K
231,514—

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