The @babel/plugin-transform-arrow-functions Babel plugin transforms ES2015 arrow functions into standard ES5 function expressions. This ensures compatibility with older JavaScript environments that don't natively support arrow function syntax. It handles various arrow function styles, including concise body and block body forms, correctly preserving this context based on lexical scoping. Using this plugin allows developers to leverage the benefits of arrow functions within a broad range of browsers and runtimes.
The @babel/plugin-transform-arrow-functions package has seen sporadic releases since August 2018. There were periods of high activity, like 2020 and 2021, followed by slower periods. Release frequency has decreased in recent years, with only one release in April 2025, and no releases in August 2025. The versions range from 7.0.0 to 7.27.1.
@babel/plugin-transform-arrow-functions npm package saw fluctuating downloads. From March 2024 to August 2025, downloads generally trended upward, peaking in June 2025. September 2025 downloads are significantly lower, likely due to the month being incomplete as of September 12, 2025.