google/closure-compiler

A JavaScript checker and optimizer.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 47 minutes ago
Added to GitGenius on September 8th, 2026
Created on April 16th, 2014
Open Issues & Pull Requests: 916 (+0)
GitHub issues: Enabled
Number of forks: 1,183
Total Stargazers: 7,678 (+0)
Total Subscribers: 225 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 30.8 hours
Mean response time: 169.5 days
90th percentile: 13.2 days
Tracked items: 94

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 97% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 3% of issues opened in the past year have been closed. Three people close 51% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 37
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,182 days
Stale 30+ days: 35
Stale 90+ days: 33

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • triage-done (13)
  • internal-issue-created (8)
  • enhancement (6)
  • good first issue (6)
  • help wanted (6)
  • P4 (4)
  • P3 (3)
  • feat (3)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Closure Compiler is a JavaScript compiler and optimizer that transforms JavaScript code to improve download speed and runtime performance.

The tool addresses the problem of JavaScript file size and execution efficiency by parsing JavaScript, analyzing it, removing dead code, and rewriting the remaining code to be smaller and faster. It operates as a true compiler, translating from JavaScript to optimized JavaScript rather than to machine code. Beyond optimization, it performs static analysis to check syntax, validate variable references, detect type errors, and warn about common JavaScript pitfalls.

Closure Compiler is best suited for projects where code can be written specifically with the compiler in mind, particularly those using the goog.module() and goog.require() module system. The tool excels in ADVANCED mode, which performs aggressive whole-world optimization by removing dead code and renaming variables and properties to minimize output size. However, it requires visibility into all uses of global variables, exported variables, and property names across the entire codebase. Projects must maintain consistent property access patterns—using either dot notation or bracket notation, but not both for the same property—to avoid broken output. The README explicitly notes that other tools perform comparably for non-ADVANCED compilation modes and are better integrated into the broader JavaScript ecosystem, making them preferable for those use cases. Closure Compiler assumes a web browser target environment by default, with limited and unsupported NodeJS compatibility.

The project maintains active development with regular commits addressing bug fixes and feature improvements. The codebase shows consistent engagement with issues and pull requests from the community. Development focuses on maintaining the compiler's core optimization capabilities while acknowledging the tool's specialized nature and the constraints it imposes on codebases.