Skip to content
PluginStats

babel-plugin-transform-es2015-block-scoping weekly downloads statistics

By babel (206 listings) · npm · Babel plugins

Compile ES2015 block scoping (const and let) to ES5

View on npm Fresh · Dec 6, 2026

babel-plugin-transform-es2015-block-scoping has 1,374,722 recorded weekly downloads on npm, a decrease of 3.9% over the past 30 days, ranking #248 of 3,247 tracked listings.

Weekly downloads
1,374,722
Official API · Dec 5, 2026
7-day growth
-0.2%
-2.2K weekly downloads
30-day growth
-3.9%
-55.1K weekly downloads
90-day growth
-3.0%
-42.2K weekly downloads
Rank
#248
▼ 3 in 7 days

About babel-plugin-transform-es2015-block-scoping

babel-plugin-transform-es2015-block-scoping

Compile ES2015 block scoping (const and let) to ES5

Installation

npm install --save-dev babel-plugin-transform-es2015-block-scoping

Usage

Via .babelrc (Recommended)

.babelrc

Without options:

{
  "plugins": ["transform-es2015-block-scoping"]
}

With options:

{
  "plugins": [
    ["transform-es2015-block-scoping", {
      "throwIfClosureRequired": true
    }]
  ]
}
Via CLI
babel --plugins transform-es2015-block-scoping script.js
Via Node API
require("babel-core").transform("code", {
  plugins: ["transform-es2015-block-scoping"]
});

Options throwIfClosureRequired

In cases such as the following it's impossible to rewrite let/const without adding an additional function and closure while transforming:

for (let i = 0; i < 5; i++) {
  setTimeout(() => console.log(i), 1);
}

In extremely performance-sensitive code, this can be undesirable. If "throwIfClosureRequired": true is set, Babel throws when transforming these patterns instead of automatically adding an additional function.

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-es2015-block-scoping weekly downloads on npm, last 90 days: 1,374,722 weekly downloads as of Dec 5, 2026, -3.0% over 90 days.babel-plugin-transform-es2015-block-sc…Weekly downloads on npm · Last 90 days1,374,722downloads / week-3.0% over 90 days0500K1M1.5M2M2.5MSep 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-es2015-block-scoping weekly downloads on npm, last 90 days: 1,374,722 weekly downloads as of Dec 5, 2026, -3.0% over 90 days.

7/30/90-day growth

babel-plugin-transform-es2015-block-scoping weekly downloads growth on npm: -0.2% over 7 days, -3.9% over 30 days, -3.0% over 90 days.babel-plugin-transform-es2015-block-sc…Weekly downloads growth on npm1,374,722downloads / week now7-day growth-2,236 weekly downloads-0.2%30-day growth-55,092 weekly downloads-3.9%90-day growth-42,163 weekly downloads-3.0%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
babel-plugin-transform-es2015-block-scoping weekly downloads growth on npm: -0.2% over 7 days, -3.9% over 30 days, -3.0% over 90 days.

Ranking history

babel-plugin-transform-es2015-block-scoping npm ranking history: currently #248 (by weekly downloads).babel-plugin-transform-es2015-block-sc…npm ranking · by weekly downloads · Last 90 days#248current rank#215#220#225#230#235#240#245#250#255Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
babel-plugin-transform-es2015-block-scoping npm ranking history: currently #248 (by weekly downloads).

Listing placement

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

Listing placement

Babel plugins263 listings · 14 pages · page 7, #3 (overall #123)
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 (170)
Recent weekly downloads observations for babel-plugin-transform-es2015-block-scoping
Date (UTC)Weekly downloadsChange vs. previous
1,374,722-5.9K
1,380,583+8.2K
1,372,353+25.7K
1,346,632-6.6K
1,353,233+10.8K
1,342,463-19K
1,361,413-15.5K
1,376,958-14.2K
1,391,132-13.6K
1,404,682-31.4K
1,436,079+1.6K
1,434,438+13.7K
1,420,731+44.6K
1,376,131—

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-es2015-block-scoping. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.