How to Install and Uninstall node-uglify-js Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 16,2024

1. Install "node-uglify-js" package

Here is a brief guide to show you how to install node-uglify-js on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install node-uglify-js

2. Uninstall "node-uglify-js" package

Learn how to uninstall node-uglify-js on Ubuntu 21.10 (Impish Indri):

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

3. Information about the node-uglify-js package on Ubuntu 21.10 (Impish Indri)

Package: node-uglify-js
Architecture: all
Version: 3.13.4-1
Priority: optional
Section: universe/javascript
Source: uglify-js
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1172
Conflicts: node-uglify
Filename: pool/universe/u/uglify-js/node-uglify-js_3.13.4-1_all.deb
Size: 184792
MD5sum: e1f2f58642faf012312a0b1f2ff2948a
SHA1: bd101359b145b0f1f286795b1f8819831fb923c8
SHA256: 60bf14a5674396091936a5a27ef8debf7692b81b1c659f70ae542c721d01ffc4
SHA512: e3ff51a38c0a6e62894e41a9ef6c4126eeb9b3f09dfd44e51517002f368f14fba6f656b6974b8d70ccf2edae6691ceece6d2571e93af6aed2b5ff70e02a7db97
Homepage: https://github.com/mishoo/UglifyJS
Description-en: JavaScript parser, mangler/compressor and beautifier - Nodejs library
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: 458b4a0eb9b9fa151fc641d49eb44bf7