uglify-js : JavaScript parser, mangler/compressor and beautifier toolkit. You can installing uglify-js 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 uglify-js $ sudo npm install -g uglify-js
If want to update the uglify-js package execute the command as below,
$ sudo npm update uglify-js
Update package globally,
$ npm install -g uglify-js
$ sudo git clone https://github.com/rektide/uglify-js.git
$ sudo npm install -g ./uglify-js
uglify-js@3.1.10 /usr/lib/node_modules/uglify-js
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall uglify-js
| Package Name | uglify-js |
| Version | 3.1.10 |
| Description | JavaScript parser, mangler/compressor and beautifier toolkit |
| Released Date | 2017-11-19T17:09:48.051Z |
| Published by | alexlamsl |
| How to Learn | https://www.npmjs.com/package/uglify-js/tutorial |