How to Install uglifyjs NPM Packages on Ubuntu / Debian

How to Install uglifyjs software package in NPM Packages

uglifyjs : Use uglify-js instead - https://github.com/mishoo/UglifyJS2. You can installing uglifyjs 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 uglifyjs
$ sudo npm install -g uglifyjs

If want to update the uglifyjs package execute the command as below,

$ sudo npm update uglifyjs

Update package globally,

$ npm install -g uglifyjs

Git clone:

$ sudo  git clone https://github.com/rektide/uglifyjs.git
$ sudo  npm install -g ./uglifyjs

uglifyjs@2.4.11 /usr/lib/node_modules/uglifyjs

How to remove uglifyjs package :

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

$ sudo npm uninstall uglifyjs

Basic Information of uglifyjs NPM Package:

Package Name uglifyjs
Version 2.4.11
Description Use uglify-js instead - https://github.com/mishoo/UglifyJS2
Released Date 2017-05-15T22:10:13.379Z
Published by alexlamsl
How to Learn https://www.npmjs.com/package/uglifyjs/tutorial