The @babel/plugin-transform-shorthand-properties Babel plugin transforms shorthand properties in JavaScript objects into their explicit equivalents. Effectively, {a} becomes {a: a} during the transformation process. This enhances code readability, particularly for older JavaScript engines or when explicit key-value pairs are preferred for clarity or compatibility reasons. It simplifies debugging and ensures consistent property definitions across different environments, promoting clean and maintainable code.
The @babel/plugin-transform-shorthand-properties npm package has had irregular release frequency since its initial release in August 2018. Releases occurred sporadically each year, with some months seeing multiple versions and many others having none. The most recent release was version 7.27.1 in April 2025. There have been no releases in the past four months.
@babel/plugin-transform-shorthand-properties downloads show a general upward trend from March 2024 to July 2025, peaking at 139.5 million. August 2025 saw a decrease to 118.9 million. September 2025 downloads are incomplete, registering 38.1 million as of September 11th.