This Babel plugin transforms ES2015 classes to ES5-compatible code. It handles class declarations, inheritance, super calls, static methods, and computed method names. Crucially, it allows older JavaScript environments to execute modern ES2015 class syntax by converting it into constructor functions and prototype-based inheritance. Essential for ensuring cross-browser compatibility and supporting legacy browsers when using ES2015 classes in your JavaScript projects.
Babel-plugin-transform-es2015-classes npm package downloads showed relative stability throughout 2024 and early 2025. A significant spike occurred in November 2024 and again in June and July 2025. Downloads in August 2025 decreased, while September 2025 data is still partial, but indicates a higher download count.
The npm package babel-plugin-transform-es2015-classes saw active releases from October 2015 to April 2017, with the highest frequency in November 2015. After April 2017, releases became sporadic, with only a few occurring in August 2016, October 2016, January 2017, February 2017 and April 2017. Since then, there have been no releases.