The @babel/plugin-transform-named-capturing-groups-regex Babel plugin transforms RegExp named capture groups syntax from ES2018 to ES5-compatible code. It enables developers to use modern regular expression features in older JavaScript environments, ensuring broader compatibility. This plugin rewrites regular expressions containing named capture groups, allowing developers to leverage features like (?<name>...) without sacrificing support for older browsers or Node.js versions. Incorporating this plugin in Babel configurations allows existing codebases to adopt regular expression syntax smoothly.
The npm package @babel/plugin-transform-named-capturing-groups-regex saw frequent releases in 2019 and 2020, with several months having multiple versions. Release frequency decreased significantly after 2020, with occasional releases in 2021, 2022, 2023, 2024 and 2025. There were no releases between August 2025 and today (September 12, 2025).
@babel/plugin-transform-named-capturing-groups-regex downloads grew significantly from March 2024 (58M) to mid-2025, peaking in June 2025 (131M). Downloads have remained high overall, exceeding 84M monthly, but show a significant drop in September 2025, likely due to incomplete data for the current month.