closure-compiler-js packages Google’s Closure Compiler so it runs under JavaScript (e.g., Node.js) instead of a JVM, making advanced JS optimization accessible in more build pipelines. You get the same aggressive whole-program optimizations—dead-code elimination, property renaming, inlining, and cross-module motion—delivered via a JS API and CLI. Because it’s the compiler you know, it also honors Closure type annotations and JSDoc, enabling type-aware rewrites that shrink bundles without breaking semantics. The distribution is geared for tool authors: plug it into bundlers, custom scripts, or CI without dragging in a Java runtime. It’s particularly handy in constrained environments (serverless, sandboxed workers) where spawning a JVM is undesirable. In short, it brings Closure’s battle-tested optimizer to the places modern JavaScript actually runs.

Features

  • Advanced optimizations beyond minification in a Node-friendly package
  • JSDoc/Closure types for safe renaming and inlining
  • CLI and programmatic API for build tools and scripts
  • Cross-module code motion and tree-shaking for smaller bundles
  • Works in JVM-less environments like serverless and constrained CI
  • Drop-in replacement path for teams already using Closure Compiler

Project Samples

Project Activity

See All Activity >

Categories

Compilers

License

Apache License V2.0

Follow Closure Compiler JS

Closure Compiler JS Web Site

Other Useful Business Software
Paessler: Easy to Use With Enterprise Power. Free Trial Icon
Paessler: Easy to Use With Enterprise Power. Free Trial

A low-code dashboard makes monitoring intuitive for any admin, while scripting and custom sensors give experts full control.

You shouldn't have to choose between a monitoring tool that's easy to use and one that's powerful enough for a complex environment. PRTG's low-code interface lets any admin build dashboards, set alerts and monitor devices without scripting, while custom sensors and full API access are there when your team needs deeper control. One platform, no compromise. Download a free 30-day trial now.
Get Free Download
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Closure Compiler JS!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

JavaScript

Related Categories

JavaScript Compilers

Registered

2025-10-10