
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
@babel/plugin-transform-destructuring
Advanced tools
Compile ES2015 destructuring to ES5
See our website @babel/plugin-transform-destructuring for more information.
Using npm:
npm install --save-dev @babel/plugin-transform-destructuring
or using yarn:
yarn add @babel/plugin-transform-destructuring --dev
v7.28.5 (2025-10-23)
babel-parser
Runtime Errors for Function Call Assignment Targets (@liuxingbaoyu)babel-helper-validator-identifier
babel-plugin-proposal-destructuring-private
babel-parser
babel-plugin-proposal-discard-binding, babel-plugin-transform-destructuring
rest correctly returns plain array (@liuxingbaoyu)babel-helper-create-class-features-plugin, babel-helper-member-expression-to-functions, babel-plugin-transform-block-scoping, babel-plugin-transform-optional-chaining, babel-traverse, babel-types
babel-traverse
babel-core
buildCodeFrameError (@liuxingbaoyu)This package offers similar functionality to @babel/plugin-transform-destructuring but is specifically targeted at transforming ES2015 destructuring syntax. It's part of the older Babel 6 ecosystem and has been superseded by the more general @babel/plugin-transform-destructuring in Babel 7.
While not a direct equivalent, babel-preset-env includes @babel/plugin-transform-destructuring among many other plugins. It automatically determines the Babel plugins and polyfills you need based on your supported environments. It's a more comprehensive solution for writing next-gen JavaScript.
FAQs
Compile ES2015 destructuring to ES5
The npm package @babel/plugin-transform-destructuring receives a total of 24,572,852 weekly downloads. As such, @babel/plugin-transform-destructuring popularity was classified as popular.
We found that @babel/plugin-transform-destructuring demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.