Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Closure Compiler

203
62
+ 1
5
CodeKit

69
103
+ 1
28
Add tool

Closure Compiler vs CodeKit: What are the differences?

Developers describe Closure Compiler as "A JavaScript checker and optimizer". 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. On the other hand, CodeKit is detailed as "Mac app that compiles Less, Sass, Stylus, Jade, Haml, Javascript, and Markdown files automatically each time you save". Process Less, Sass, Stylus, Jade, Haml, Slim, CoffeeScript, Javascript, and Compass files automatically each time you save. Easily set options for each language.

Closure Compiler and CodeKit are primarily classified as "JavaScript Optimizers" and "Live Reloading" tools respectively.

Some of the features offered by Closure Compiler are:

  • 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

On the other hand, CodeKit provides the following key features:

  • Compile Everything - Less, Sass, Stylus, CoffeeScript, Typescript, Jade, Haml, Slim, Markdown & Javascript.
  • Auto-Refresh Browsers - Refresh browsers across devices: Mac, PC, iOS, Android & kitchen fridge. Never hit command+R again.
  • Bower Built-In - Install 6,000+ components with a single click: Bootstrap, jQuery, Modernizr, Zurb Foundation, even WordPress.

Closure Compiler is an open source tool with 5.02K GitHub stars and 923 GitHub forks. Here's a link to Closure Compiler's open source repository on GitHub.

Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of Closure Compiler
Pros of CodeKit
  • 1
    The best performing output
  • 1
    Small output size
  • 1
    Dead code elimination
  • 1
    ES6 support
  • 1
    Bundle support for CommonJS, ES6, .
  • 0
    Ease
  • 8
    Instant setup for quick experiments
  • 8
    Easy to configure
  • 7
    Cross device live reloading
  • 5
    Any editor OK

Sign up to add or upvote prosMake informed product decisions

1.3K
184
169
- No public GitHub repository available -

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.

What is CodeKit?

Process Less, Sass, Stylus, Jade, Haml, Slim, CoffeeScript, Javascript, and Compass files automatically each time you save. Easily set options for each language.

Need advice about which tool to choose?Ask the StackShare community!

What companies use Closure Compiler?
What companies use CodeKit?
Manage your open source components, licenses, and vulnerabilities
Learn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Closure Compiler?
What tools integrate with CodeKit?

Blog Posts

What are some alternatives to Closure Compiler and CodeKit?
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).
TypeScript
TypeScript is a language for application-scale JavaScript development. It's a typed superset of JavaScript that compiles to plain JavaScript.
Git
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
See all alternatives