Socket
Socket
Sign inDemoInstall

closure-gun

Package Overview
Dependencies
29
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    closure-gun

Make faster Google Closure-Compiler for NodeJS & io.js


Version published
Weekly downloads
7
increased by250%
Maintainers
3
Created
Weekly downloads
 

Readme

Source

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:

Keywords

FAQs

Last updated on 11 Jan 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc