closure-compiler
« Back to VersTracker
Description:
JavaScript optimizing compiler
Type: Formula  |  Latest Version: 20250820@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  @googledevs  |  formulae.brew.sh
Category: Developer tools
Tags: javascript compiler minifier transpiler web-development
Install: brew install closure-compiler
About:
Closure Compiler is a JavaScript optimizing compiler that parses, analyzes, and transpiles code. It removes dead code, rewrites code for optimal performance, and enforces type safety via JSDoc annotations. Its primary value is significantly reducing JavaScript file sizes and preventing common errors for large-scale web applications.
Key Features:
  • Dead code removal and tree shaking
  • Advanced minification and renaming
  • Type checking via JSDoc annotations
  • ES6/ES2015 transpilation to older standards
Use Cases:
  • Minifying JavaScript for production web deployments
  • Validating code correctness and type safety in large codebases
  • Transpiling modern JavaScript for legacy browser support
Alternatives:
  • Terser – Faster and lighter, focused on minification without type checking
  • esbuild – Extremely fast bundler and minifier, suitable for modern build pipelines
Version History
Detected Version Rev Change Commit
Dec 17, 2025 10:56pm 20250820 0 VERSION_BUMP 47b13f30
Nov 19, 2024 12:01am 0 VERSION_BUMP fd79ef28