How to Install and Uninstall node-uglify Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 18,2024

1. Install "node-uglify" package

This guide let you learn how to install node-uglify on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install node-uglify

2. Uninstall "node-uglify" package

Please follow the guidelines below to uninstall node-uglify on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove node-uglify $ sudo apt autoclean && sudo apt autoremove

3. Information about the node-uglify package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: node-uglify
Priority: optional
Section: universe/web
Installed-Size: 342
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Architecture: all
Source: uglifyjs
Version: 2.4.15-5
Provides: uglifyjs
Depends: nodejs, node-async (>= 0.2.6), node-optimist
Recommends: node-source-map
Suggests: node-uglify-to-browserify
Filename: pool/universe/u/uglifyjs/node-uglify_2.4.15-5_all.deb
Size: 66776
MD5sum: 2f6c0a6c42578847da7c5ea916e37471
SHA1: 69dfafd6b723db700c8a75920016ece34a5b9200
SHA256: a5cf5007b2e55b193c65eb8b67c8c8e8e5bb008ef4a791629f9bb27dcddf687b
Description-en: JavaScript parser, mangler/compressor and beautifier toolkit
UglifyJS is a JavaScript compressor/minifier written in JavaScript. It
also contains tools that allow one to automate working with JavaScript
code:
.
* A parser which produces an abstract syntax tree (AST) from
JavaScript code.
* A code generator which outputs JavaScript code from an AST, also
providing the option to get a source map.
* A compressor (optimizer) - it uses the transformer API to optimize
an AST into a smaller one.
* A mangler - reduce names of local variables to (usually)
single-letters.
* A scope analyzer, which is a tool that augments the AST with
information about where variables are defined/referenced etc.
* A tree walker - a simple API allowing you to do something on every
node in the AST.
* A tree transformer - another API intended to transform the tree.
.
All the above utilities and APIs are defined in ~6500 lines of code
(except for the effective generation of the source-map, which is
handled by the source-map module). Compared to alternatives, UglifyJS
is pretty small.
Description-md5: a0e7182b50f5d0f1843f92cf8014d2ce
Homepage: http://lisperator.net/uglifyjs/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu