Closure Compiler logo

Closure Compiler

A JavaScript checker and optimizer
27
39
+ 1
5

What is Closure Compiler?

The Closure Compiler is a tool for making JavaScript download and run faster. It is a true compiler for JavaScript. Instead of compiling from a source language to machine code, it compiles from JavaScript to better JavaScript. It parses your JavaScript, analyzes it, removes dead code and rewrites and minimizes what's left. It also checks syntax, variable references, and types, and warns about common JavaScript pitfalls.
Closure Compiler is a tool in the JavaScript Optimizers category of a tech stack.
Closure Compiler is an open source tool with 5.4K GitHub stars and 981 GitHub forks. Here’s a link to Closure Compiler's open source repository on GitHub

Who uses Closure Compiler?

Companies
8 companies reportedly use Closure Compiler in their tech stacks, including Lucidchart and Lucidpress, Xerpa, and Nightcore Creator.

Developers
17 developers on StackShare have stated that they use Closure Compiler.

Closure Compiler Integrations

Why developers like Closure Compiler?

Here’s a list of reasons why companies and developers use Closure Compiler

Closure Compiler's Features

  • parses JavaScript, analyzes it, removes dead code and rewrites and minimizes what's left
  • checks syntax, variable references, and types, and warns about common JavaScript pitfalls
  • transpiling some ECMAScript 6 code to ECMAScript 3

Closure Compiler Alternatives & Comparisons

What are some alternatives to Closure Compiler?
Webpack
A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows to load parts for the application on demand. Through "loaders" modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
Babel
Babel will turn your ES6+ code into ES5 friendly code, so you can start using it right now without waiting for browser support.
UglifyJS
This package implements a general-purpose JavaScript parser/compressor/beautifier toolkit. It is developed on NodeJS, but it should work on any JavaScript platform supporting the CommonJS module system (and if your platform of choice doesn’t support CommonJS, you can easily implement it, or discard the exports.* lines from UglifyJS sources).

Closure Compiler's Followers
39 developers follow Closure Compiler to keep up with related blogs and decisions.
zqfxxx 郑
Neo V2RNA59Z
Serhii Shportko
John Alton
Keith McCartney
rohit1121996
Mohamma76685757
MohammadAsh15
hvanwesenbeeck
vonloxx