The @babel/plugin-transform-reserved-words Babel plugin transforms reserved words into string literals, which mainly targets older JavaScript environments. This is crucial for ensuring compatibility with engines that don't handle reserved words as valid identifiers. This transformation prevents syntax errors, especially when packages are designed to function correctly across a wide range of JavaScript runtimes. It enhances code portability by making it adaptable to older or less compliant JavaScript engines.
The npm package @babel/plugin-transform-reserved-words has seen sporadic releases since August 2018. There were periods of inactivity followed by months with one or two releases. The most recent release was version 7.27.1 in April 2025. Overall, release frequency has been inconsistent with no clear pattern of regular updates.
@babel/plugin-transform-reserved-words downloads surged between March 2024 and August 2025, peaking in June 2025 at 129 million. There was a consistent growth trend until then. September 2025 shows a significant drop, likely due to incomplete data for the current month.