Constructuring is an ES6-to-ES3 transpiler specifically for the destructuring feature. It transforms JavaScript code using ES6 destructuring (arrays and objects) into ES3-compatible code that runs in older browsers. Current version 0.0.3, with no recent updates indicating it is no longer maintained. It operates on source strings or esprima ASTs, making it suitable for integration into build pipelines that already use esprima and escodegen. Compared to broader transpilers like Babel, Constructuring focuses only on destructuring, which may be useful for targeted transformations but lacks active development and broader language feature support.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Package is CommonJS-only; no ESM exports available.
Alternative correct import for AST-based usage.
Default export is the module itself, but named exports are preferred.
Shows both source transformation and AST-based transformation using constructuring.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.
No traffic data recorded yet.