@babel/plugin-transform-modules-amd transforms ECMAScript modules (ESM) syntax into Asynchronous Module Definition (AMD) format. This Babel plugin enables the execution of modern JavaScript modules in environments that natively support AMD, such as older browsers or systems relying on module loaders like RequireJS. By converting import and export statements into AMD define calls, it facilitates compatibility and seamless integration with existing AMD-based codebases. It's a crucial tool for bridging the gap between modern ESM and legacy AMD environments during project migrations or when maintaining compatibility.
The @babel/plugin-transform-modules-amd package has been released sporadically since August 2018. Releases were more frequent in 2020 and 2021. The latest version, 7.27.1, was published in April 2025. There have been no releases in the last four months.
@babel/plugin-transform-modules-amd downloads saw steady growth from March 2024 to July 2025, peaking at 130 million in June 2025. August 2025 saw a decline, and September 2025 downloads are significantly lower, likely reflecting incomplete data for the current month.