closure-gun

0.1.12 • Public • Published

closure-gun Travis CI Status NPM version

This gets around the long startup time of Google Closure Compiler using Nailgun, which runs a single java process in the background and keeps all of the classes loaded.

Installation:

  • Required: Maven (mvn) and C++ Compiler (gcc or clang)
  • Supported environment: OS X and Linux
$ npm install closure-gun

Usage:

$ closure-gun --js script.js --js_output_file script.min.js

closure-gun (fork fast-closure-compiler2) vs. fast-closure-compiler:

Folked because the original fast-closure-compiler is not maintained.

The advantages are:

  • Support latest Closure Compiler and Nailgun
  • Support OS X 10.9+ (tested 10.10/10.11)
  • Support Linux environment in addition to OS X
  • Expose closure-gun as global command instead of closure

License:

The MIT License (MIT)

Author:

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.12
    1
    • latest

Version History

Package Sidebar

Install

npm i closure-gun

Weekly Downloads

1

Version

0.1.12

License

MIT

Last publish

Collaborators

  • alubbe
  • denji
  • roman01la
  • teppeis