babel-plugin-transform-merge-sibling-variables is a Babel plugin designed to optimize JavaScript code by merging declarations of sibling variables. Identical declarators within the same scope are combined, improving code readability and potentially reducing the size of the generated bundle. This transformation enhances code maintainability by streamlining variable declarations, targeting developers seeking cleaner and more efficient output from their Babel compilation process. Especially useful for code generated or heavily transformed by other Babel plugins.
The npm package babel-plugin-transform-merge-sibling-variables saw infrequent releases. Initial activity occurred between August 2016 and May 2018, with several versions released. There were no releases between June 2018 and April 2022. A single version was released in May 2022. Since then, there have been no further releases up to September 2025.
babel-plugin-transform-merge-sibling-variables npm package downloads show fluctuations. From March 2024 to August 2025 they generally range between 1.3M and 2.1M, with peaks in November 2024 and June/July 2025. September 2025 shows 233,077 downloads so far, indicating a potentially strong end to the month but not complete yet.