@babel/plugin-transform-class-static-block enables the use of static blocks within JavaScript classes during transpilation. Static blocks are executed only once when the class is loaded, allowing for initialization logic and private static variable management. This plugin ensures compatibility with environments that don't natively support class static blocks, making modern JavaScript features accessible across a wider range of browsers and Node.js versions. It transforms static blocks into compatible code, maintaining intended behavior.
The @babel/plugin-transform-class-static-block package experienced fluctuating release frequency. Activity peaked in May 2023 and October 2024 (4 releases), with several months having no releases. There was a higher release frequency in the first half of 2024 than in the second half of 2024. So far in 2025, there have been only two releases, one in April and one in August.
@babel/plugin-transform-class-static-block downloads show a strong upward trend from March 2024 to August 2025, peaking at 89.7 million in August. September 2025 downloads are significantly lower (37.1 million), likely due to incomplete data for the month. Overall adoption of the plugin has steadily increased.