Skip to content
PluginStats

babel-plugin-transform-es2015-classes weekly downloads statistics

By babel (206 listings) · npm · Babel plugins

Compile ES2015 classes to ES5

View on npm Fresh · Dec 6, 2026

babel-plugin-transform-es2015-classes has 1,340,315 recorded weekly downloads on npm, a decrease of 4.6% over the past 30 days, ranking #256 of 3,247 tracked listings.

Weekly downloads
1,340,315
Official API · Dec 5, 2026
7-day growth
-0.3%
-4.1K weekly downloads
30-day growth
-4.6%
-64.4K weekly downloads
90-day growth
-3.8%
-52.8K weekly downloads
Rank
#256
▼ 3 in 7 days

About babel-plugin-transform-es2015-classes

babel-plugin-transform-es2015-classes

Compile ES2015 classes to ES5

Caveats

Built-in classes such as Date, Array, DOM etc cannot be properly subclassed due to limitations in ES5 (for the es2015-classes plugin). You can try to use babel-plugin-transform-builtin-extend based on Object.setPrototypeOf and Reflect.construct, but it also has some limitations.

Installation

npm install --save-dev babel-plugin-transform-es2015-classes

Usage

Via .babelrc (Recommended)

.babelrc

// without options
{
  "plugins": ["transform-es2015-classes"]
}

// with options
{
  "plugins": [
    ["transform-es2015-classes", {
      "loose": true
    }]
  ]
}
Via CLI
babel --plugins transform-es2015-classes script.js
Via Node API
require("babel-core").transform("code", {
  plugins: ["transform-es2015-classes"]
});

Options

loose

boolean, defaults to false.

Method enumerability

Please note that in loose mode class methods are enumerable. This is not in line with the spec and you may run into issues.

Method assignment

Under loose mode, methods are defined on the class prototype with simple assignments instead of being defined. This can result in the following not working:

class Foo {
  set bar() {
    throw new Error("foo!");
  }
}

class Bar extends Foo {
  bar() {
    // will throw an error when this method is defined
  }
}

When Bar.prototype.foo is defined it triggers the setter on Foo. This is a case that is very unlikely to appear in production code however it's something to keep in mind.

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-classes weekly downloads on npm, last 90 days: 1,340,315 weekly downloads as of Dec 5, 2026, -3.8% over 90 days.babel-plugin-transform-es2015-classesWeekly downloads on npm · Last 90 days1,340,315downloads / week-3.8% 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-classes weekly downloads on npm, last 90 days: 1,340,315 weekly downloads as of Dec 5, 2026, -3.8% over 90 days.

7/30/90-day growth

babel-plugin-transform-es2015-classes weekly downloads growth on npm: -0.3% over 7 days, -4.6% over 30 days, -3.8% over 90 days.babel-plugin-transform-es2015-classesWeekly downloads growth on npm1,340,315downloads / week now7-day growth-4,093 weekly downloads-0.3%30-day growth-64,388 weekly downloads-4.6%90-day growth-52,755 weekly downloads-3.8%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
babel-plugin-transform-es2015-classes weekly downloads growth on npm: -0.3% over 7 days, -4.6% over 30 days, -3.8% over 90 days.

Ranking history

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

Listing placement

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

Listing placement

Babel plugins263 listings · 14 pages · page 7, #10 (overall #130)
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-classes
Date (UTC)Weekly downloadsChange vs. previous
1,340,315-7.4K
1,347,763+7K
1,340,799+27.5K
1,313,338-5.6K
1,318,969+11.9K
1,307,103-20.9K
1,328,044-16.4K
1,344,408-13.7K
1,358,137-14K
1,372,097-33.8K
1,405,894-156
1,406,050+10.9K
1,395,122+44.3K
1,350,796—

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