Enables the use of the in operator to check for the presence of private properties on JavaScript objects. This Babel plugin transforms modern code using private fields with the #private in object syntax to be compatible with older environments that don't natively support this feature. It ensures that your code doesn't break when running in older browsers or Node.js versions by providing a polyfill. Simplifies writing cleaner, more modern JavaScript with private class fields.
The @babel/plugin-proposal-private-property-in-object npm package saw frequent releases from May 2020 to December 2023, with peaks in 2020 and 2021. Release frequency decreased in 2022 and 2023. There have been no releases in the months leading up to September 12, 2025, with the last release being in June 2023.
Downloads of @babel/plugin-proposal-private-property-in-object generally increased from March 2024 to August 2025, peaking in June and July 2025 around 120 million. September 2025 downloads are significantly lower, likely due to incomplete data for the month. Overall, the package maintains a high download rate.