esmangle
JSON →ESMangle is an ECMAScript code mangler/minifier that operates on Mozilla Parser API AST. Version 1.0.1 (final release, 2012) is stable but deprecated; no new releases in over a decade, superseded by tools like UglifyJS and Terser. It provides functions `mangle`, `optimize`, and CLI command `esmangle`. Key differentiator: AST-based mangling using a resolution algorithm derived from bytecode compiler iv/lv5/railgun. Requires complementary AST tools `esprima` (parse) and `escodegen` (generate). Not maintained; security and compatibility risks.
Resources
packageesmangle ↗