How to Install and Uninstall uglifyjs Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 03,2024

1. Install "uglifyjs" package

Please follow the guidelines below to install uglifyjs on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install uglifyjs

2. Uninstall "uglifyjs" package

Please follow the guidelines below to uninstall uglifyjs on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove uglifyjs $ sudo apt autoclean && sudo apt autoremove

3. Information about the uglifyjs package on Ubuntu 21.10 (Impish Indri)

Package: uglifyjs
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: 45
Provides: uglifyjs
Depends: node-uglify-js (= 3.13.4-1), nodejs
Suggests: node-acorn
Conflicts: node-uglify
Filename: pool/universe/u/uglify-js/uglifyjs_3.13.4-1_all.deb
Size: 9512
MD5sum: 620cb5126dfa358b06c8af858d6bfdfa
SHA1: f7e7cd2352cc5515b7568126191f371785cdbe58
SHA256: 1a147ad5ada823652681f49190337c37dcf55d9106a1efd5b36bb478f70e3e04
SHA512: 48eebb413b9fe8044d4d7f608cc72b9d9e0cf08950f211d3a13d9dcc989613488441b37ee93ed3480512c2327451ffc75d23279e7c213fba34a28e111aaed431
Homepage: https://github.com/mishoo/UglifyJS
Description-en: JavaScript parser, mangler/compressor and beautifier - CLI tool
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.
.
This package provides the command-line tool uglifyjs.
Description-md5: a1eee2f86a02076b5f09eef2d3a7ec1e