@babel/plugin-transform-classes transforms ES2015 classes to ES5-compatible constructor functions. It enables broader browser support by transpiling modern class syntax into a format understandable by older JavaScript engines. This plugin handles class declarations, inheritance, methods, and static properties, ensuring consistent behavior across different environments. Using this plugin is crucial for projects aiming for backward compatibility.
The @babel/plugin-transform-classes package saw frequent releases from 2018 to 2024, with multiple versions in some months. Peak activity was in 2019 and 2020. Releases became less consistent after 2021, with many months having no updates. 2025 so far has had releases in April, June and July, suggesting continued, but less frequent, maintenance.
@babel/plugin-transform-classes downloads show a generally upward trend from February 2024 to July 2025, peaking in June 2025 at over 141 million. August 2025 downloads are significantly lower (around 72 million), but the month is not yet complete.