yuicompressor
« Back to VersTracker
Description:
Yahoo! JavaScript and CSS compressor
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: minification javascript css compression build-tools web-optimization
Install: brew install yuicompressor
About:
YUI Compressor is a command-line tool that minifies JavaScript and CSS files to reduce their size for production deployment. It parses source code, removes unnecessary characters like whitespace and comments, and performs safe variable renaming. This results in smaller file sizes, leading to faster page loads and reduced bandwidth usage.
Key Features:
  • JavaScript and CSS minification
  • Safe variable renaming
  • Command-line interface
  • Java-based (cross-platform)
Use Cases:
  • Optimizing web assets for production
  • Reducing bandwidth costs and improving load times
  • Automating build processes for web applications
Alternatives:
  • Terser – Modern JavaScript minifier with ES6+ support and better compression than YUI
  • cssnano – CSS minifier with advanced optimizations and PostCSS integration
  • UglifyJS – Older JS minifier, predecessor to Terser
Version History
Detected Version Rev Change Commit
Nov 24, 2024 2:43pm 1 VERSION_BUMP f6e7d262