npm

Share private packages across your team with npm Orgs, now with simplified billing via the aws marketplace!Learn more »

@teppeis/closure-gun

2.0.0 • Public • Published

@teppeis/closure-gun

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: Java and Python
  • Supported environment: macOS and Linux
$ npm install @teppeis/closure-gun

Usage:

Execute Closure Compiler (start closure-gun server if not started)

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

Stop closure-gun server

$ closure-gun-stop

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:

install

npm i @teppeis/closure-gun

Downloadsweekly downloads

0

version

2.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability