2 个仓库
Advanced rewriting of code structures to remove redundant logic and simplify expressions.
Distinct from JavaScript Minification: Focuses on the structural transformation of logic rather than simple whitespace or identifier removal
Explore 2 awesome GitHub repositories matching software engineering & architecture · Logic Compression. Refine with filters or upvote what's useful.
UglifyJS2 is a suite of tools designed for parsing, beautifying, mangling, and minifying JavaScript code. It functions by converting source code into an abstract syntax tree to enable programmatic analysis and transformation, and it includes a dedicated generator for creating associated source maps. The project optimizes web production builds by compressing script logic and removing unreachable code. It utilizes name mangling to shorten variable and property names and implements a beautifier to reconstruct compressed scripts into a human-readable layout. The toolset covers broad capability a
Analyzes and rewrites JavaScript code structures to remove redundant logic and shrink the final bundle size.
Terser is a JavaScript minifier and compressor designed to reduce file size through whitespace removal, symbol mangling, and logic optimization for ES6+. It functions as a toolkit for minification, a code mangler for shortening variable and property names, and a dead code eliminator that evaluates constant expressions to remove unreachable logic. The project operates as an AST toolkit that parses JavaScript source into SpiderMonkey AST format for structural analysis. It generates source maps to link compressed production code back to the original source, ensuring that minified bundles remain
Implements advanced structural rewriting to remove redundant logic and simplify JavaScript expressions.