awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
mishoo avatar

mishoo/UglifyJS

0
View on GitHub↗
13,392 stars·1,224 forks·JavaScript·26 viewslisperator.net/uglifyjs↗

UglifyJS

UglifyJS is a tool for JavaScript code minification, AST manipulation, and source beautification. Its primary purpose is to reduce the file size of JavaScript source code by removing whitespace and shortening variable names to optimize frontend build assets.

The project differentiates itself through its ability to programmatically analyze and transform code using abstract syntax trees. It performs constant folding analysis and conditional compilation to eliminate unreachable or redundant code, and it employs a multi-pass compression pipeline to maximize total file size reduction.

The tool provides capabilities for mangling variable and property names, as well as generating and merging source maps to link compressed production code back to its original source for debugging. It can also be used to reformat minified or dense source code into a readable layout with consistent indentation.

Features

  • Logic Compressors - Compresses JavaScript logic by analyzing and rewriting code structures to minimize total byte size.
  • JavaScript Minification - Reduces JavaScript file size through whitespace removal and identifier optimization for faster web page loading.
  • AST Transformation Tools - Implements utilities for parsing, manipulating, and transforming JavaScript source code using abstract syntax trees.
  • Identifier Manglers - Provides identifier-based name mangling to significantly reduce the total byte size of JavaScript assets.
  • JavaScript Source Parsers - Includes specialized JavaScript source parsers to convert raw code into structured data.
  • Internal Tree Representations - Implements internal tree representations to structure JavaScript source code for programmatic analysis and transformation.
  • AST Traversal Engines - Uses recursive AST traversal to identify and modify specific patterns for compression and beautification.
  • ESTree AST Parsing - Parses JavaScript source code into abstract syntax trees following the ESTree specification.
  • Code Minifiers - Provides comprehensive JavaScript minification by removing whitespace, compressing expressions, and shortening variable names.
  • Frontend Performance Optimizers - Provides a toolset to automate the optimization of frontend JavaScript assets to improve production performance.
  • Code Beautifiers - Provides code beautification to reformat minified JavaScript into a human-readable layout.
  • Dead Code Elimination - Implements dead code elimination by replacing global identifiers with constant values during conditional compilation.
  • Source Map Generators - Generates offset-based source maps to link minified production code back to the original source for debugging.
  • Constant-Folding Optimizations - Performs constant-folding optimizations to evaluate expressions at build time and eliminate redundant code.
  • Multi-Pass Compiler Pipelines - Employs a multi-pass compiler pipeline to apply sequential transformations for maximum code size reduction.
  • Source Code Beautifiers - Reformats minified or dense JavaScript code into a readable layout with consistent indentation and spacing.
  • Asset Optimization - Parses, minifies, and compresses JavaScript code.
  • Build and Automation Tools - JavaScript parser, minifier, compressor, and beautifier toolkit.
  • Code Minifiers - Standard JavaScript minification tool.
  • Code Optimization - JavaScript minification and compression tool.
  • Minimizers - parser / mangler / compressor / beautifier toolkit
  • Web Security - JavaScript obfuscator for web challenges.

Star history

Star history chart for mishoo/uglifyjsStar history chart for mishoo/uglifyjs

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to UglifyJS

Similar open-source projects, ranked by how many features they share with UglifyJS.
  • terser/terserterser avatar

    terser/terser

    9,299View on GitHub↗

    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

    JavaScript
    View on GitHub↗9,299
  • mishoo/uglifyjs2mishoo avatar

    mishoo/UglifyJS2

    13,392View on GitHub↗

    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

    JavaScript
    View on GitHub↗13,392
  • babel/minifybabel avatar

    babel/minify

    4,376View on GitHub↗

    This project is an AST-based code optimizer and compressor for modern ECMAScript, JSX, and TypeScript source code. It functions as a JavaScript minifier that uses the Babel toolchain to reduce file size by removing unnecessary characters and whitespace while preserving program logic. The tool is distinguished by its ability to process experimental language proposals and transform modern syntax into browser-compatible versions. It provides specialized handling for React JSX transpilation and strips type annotations from TypeScript files to produce compressed production assets. The system cove

    JavaScript
    View on GitHub↗4,376
  • swc-project/swcswc-project avatar

    swc-project/swc

    33,909View on GitHub↗

    This project is a high-performance compiler written in Rust that transpiles TypeScript and ECMAScript into compatible JavaScript code. It functions as a TypeScript transpiler, a JavaScript minifier, and a JavaScript bundler. The system distinguishes itself through a WebAssembly plugin host that allows the execution of custom transformation rules without modifying the core binary. It also provides specialized compilation for React source code to improve runtime performance and reduce execution overhead. The broader capability surface includes source-to-source compilation, type annotation stri

    Rustbabelcompilerecmascript
    View on GitHub↗33,909
See all 30 alternatives to UglifyJS→

Frequently asked questions

What does mishoo/uglifyjs do?

UglifyJS is a tool for JavaScript code minification, AST manipulation, and source beautification. Its primary purpose is to reduce the file size of JavaScript source code by removing whitespace and shortening variable names to optimize frontend build assets.

What are the main features of mishoo/uglifyjs?

The main features of mishoo/uglifyjs are: Logic Compressors, JavaScript Minification, AST Transformation Tools, Identifier Manglers, JavaScript Source Parsers, Internal Tree Representations, AST Traversal Engines, ESTree AST Parsing.

What are some open-source alternatives to mishoo/uglifyjs?

Open-source alternatives to mishoo/uglifyjs include: terser/terser — Terser is a JavaScript minifier and compressor designed to reduce file size through whitespace removal, symbol… mishoo/uglifyjs2 — UglifyJS2 is a suite of tools designed for parsing, beautifying, mangling, and minifying JavaScript code. It functions… babel/minify — This project is an AST-based code optimizer and compressor for modern ECMAScript, JSX, and TypeScript source code. It… swc-project/swc — This project is a high-performance compiler written in Rust that transpiles TypeScript and ECMAScript into compatible… google/closure-compiler — This project is a JavaScript optimizer, minifier, module bundler, transpiler, and static analysis tool. It provides a… rollup/rollup — Rollup is an ES module bundler and JavaScript module transpiler. It functions as a build tool that combines JavaScript…