# mishoo/UglifyJS

JavaScript parser / mangler / compressor / beautifier toolkit

Repository: https://github.com/mishoo/UglifyJS
Canonical: https://ross.abutalabs.com/products/uglifyjs
Homepage: http://lisperator.net/uglifyjs/
Language: JavaScript
License: NOASSERTION
License Family: other
Last push: 2024-11-22T08:11:38+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5119, "days_push": 649, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 13382, forks 1224 (observed 2026-08-28T04:11:03.214552+00:00)

## What it is
UglifyJS is a JavaScript parser, minifier, compressor, and beautifier toolkit written in JavaScript. It provides a CLI and a programmatic API for parsing code into an AST, compressing and mangling it, and generating output with source maps.

## Use cases
- minify javascript files for production
- compress and mangle variable names in js bundles
- parse javascript into an ast for analysis
- beautify or reformat minified javascript code
- generate source maps during minification
- build a custom javascript code transformation tool

## When to choose
- you need a fast, mature ES5/ES6 JavaScript minifier with CLI and API access
- you want AST-level tools (scope analysis, tree walking, transformation) for JavaScript
- you're minifying code already transpiled from modern syntax

## When to avoid
- you need to minify cutting-edge ECMAScript syntax without transpiling first
- you want a modern bundler with tree-shaking and module resolution (use esbuild, terser-based toolchains, or Rollup)
- you need ES module-aware minification with full ES6+ semantics

## Facets
- artifact type: library
- maturity: maintenance
- function: parser, compiler, developer-tools, cli
- domain: developer-tools, web-development, frontend, programming-languages, parsers
- platform: cli, cross-platform
- tags: minifier, javascript, mangler, beautifier, ast, source-maps, es6, code-optimization, nodejs

## Member repositories
- mishoo/UglifyJS (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:03.214552+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:13:20.249074+00:00, confidence not recorded.
  - readme: https://github.com/mishoo/UglifyJS (fetched 2026-08-28T04:11:03.214552+00:00, sha a6edc290eb1c)
  - homepage: http://lisperator.net/uglifyjs/ (fetched 2026-08-29T08:08:35.384286+00:00, sha 682e8ac5d8c8)
  - site_page: https://lisperator.net/about-this-site (fetched 2026-08-29T08:08:35.387245+00:00, sha 9b64902df1a6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
