How to Install closure-compiler in Ubuntu 18.04



Install closure-compiler by entering the following commands in the terminal:

sudo apt update
sudo apt install closure-compiler

Description:

JavaScript optimizing compiler

Closure Compiler is a JavaScript optimizing compiler. 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. It is used in many of Google's JavaScript apps, including Gmail, Google Web Search, Google Maps, and Google Docs. . This package contains the /usr/bin wrapper script and manpage.

Homepage: https://developers.google.com/closure/compiler/

Version: 20130227+dfsg1-10

Section: universe/java