# yui/yuicompressor

YUI Compressor

Repository: https://github.com/yui/yuicompressor
Canonical: https://ross.abutalabs.com/products/yuicompressor
Homepage: http://yui.github.com/yuicompressor/
Language: Java
License: NOASSERTION
License Family: other
Last push: 2021-09-15T08:51:14+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 6480, "days_push": 1813, "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 2990, forks 653 (observed 2026-08-28T04:07:34.560503+00:00)

## What it is
YUI Compressor is a Java-based command-line tool that minifies JavaScript and CSS files, removing comments and whitespace and safely obfuscating local variables. It is also available as a Node.js package, though it still requires Java under the hood.

## Use cases
- minify javascript files for production
- compress css files
- reduce asset file size for faster page loads
- obfuscate local variable names in js
- batch minify assets in a build pipeline

## When to choose
- you need a battle-tested legacy minifier for older build setups
- you want a single tool that handles both JS and CSS minification
- your environment already runs Java

## When to avoid
- starting a modern project - terser, esbuild, or cssnano are faster and actively developed
- you need ES6+ syntax support, which YUI Compressor does not fully handle
- you want a pure Node.js solution without a Java dependency

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: build-tool, cli
- domain: web-development, frontend, developer-tools
- platform: jvm, cli, cross-platform
- tags: minification, javascript, css, java, legacy, nodejs

## Member repositories
- yui/yuicompressor (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:34.560503+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-30T07:31:22.869448+00:00, confidence not recorded.
  - readme: https://github.com/yui/yuicompressor (fetched 2026-08-28T04:07:34.560503+00:00, sha 99d9c809a88f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
