babel-plugin-transform-class-properties enables the use of class properties syntax in JavaScript. It transforms class field declarations, both with and without initial values, into equivalent constructor or static class blocks syntax supported by the target environment. This allows developers to use a more concise and readable way to define properties directly within a class. The plugin ensures cross-browser compatibility by converting modern class property syntax into code understandable by older JavaScript engines.
The babel-plugin-transform-class-properties npm package had frequent releases in 2015 and 2016, with the highest frequency in November 2015. Releases became sporadic in 2017, with the last release in April 2017. Since then, there have been no new versions published, indicating the package is likely no longer actively maintained as of August 2025.
Babel-plugin-transform-class-properties' npm downloads show a fluctuating trend. From February 2024 to July 2025, downloads generally increased, peaking in November 2024 and July 2025. August 2025 downloads are incomplete and significantly lower, reflecting the partial month.