@babel/plugin-transform-new-target enables the use of new.target in JavaScript environments lacking native support. This Babel plugin transforms new.target, allowing developers to utilize this ES2015 feature that detects if a function or constructor was called with new. It is useful for transpiling code to older environments or for environments missing said feature. The plugin ensures code compatibility and proper execution of constructs dependent on new.target without manually checking the calling context.
@babel/plugin-transform-new-target npm package downloads show strong growth from March 2024 to August 2025, peaking in June 2025. There's a significant drop in September 2025, which is incomplete. From March to August 2025 the downloads are always above 100M per month with a peak of 130M in June 2025.
The @babel/plugin-transform-new-target package saw initial releases in 2018, with consistent updates through 2021, peaking in December. Release frequency slowed in 2022 and 2023. In 2024, releases occurred intermittently. 2025 has seen only one release in April so far, with no releases in the subsequent months leading up to September 11, 2025.