How to Install google-closure-compiler NPM Packages on Ubuntu / Debian

How to Install google-closure-compiler software package in NPM Packages

google-closure-compiler : Check, compile, optimize and compress Javascript with Closure-Compiler. You can installing google-closure-compiler npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.

$ sudo npm install google-closure-compiler
$ sudo npm install -g google-closure-compiler

If want to update the google-closure-compiler package execute the command as below,

$ sudo npm update google-closure-compiler

Update package globally,

$ npm install -g google-closure-compiler

Git clone:

$ sudo  git clone https://github.com/rektide/google-closure-compiler.git
$ sudo  npm install -g ./google-closure-compiler

google-closure-compiler@20171112.0.0 /usr/lib/node_modules/google-closure-compiler

How to remove google-closure-compiler package :

You can uninstall or remove this package from your node_modules run the command as below,

$ sudo npm uninstall google-closure-compiler

Basic Information of google-closure-compiler NPM Package:

Package Name google-closure-compiler
Version 20171112.0.0
Description Check, compile, optimize and compress Javascript with Closure-Compiler
Released Date 2017-11-16T19:44:03.562Z
Published by chadhikes
How to Learn https://www.npmjs.com/package/google-closure-compiler/tutorial