How to Install and Uninstall libjs-uglify-js Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: October 05,2024

1. Install "libjs-uglify-js" package

This guide let you learn how to install libjs-uglify-js on Ubuntu 21.04 (Hirsute Hippo)

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

2. Uninstall "libjs-uglify-js" package

In this section, we are going to explain the necessary steps to uninstall libjs-uglify-js on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the libjs-uglify-js package on Ubuntu 21.04 (Hirsute Hippo)

Package: libjs-uglify-js
Architecture: all
Version: 3.12.8-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: 1561
Recommends: javascript-common
Filename: pool/universe/u/uglify-js/libjs-uglify-js_3.12.8-1_all.deb
Size: 510264
MD5sum: 7351201a6403005af5179ddcdbc145b0
SHA1: 66356c63bb784022229a7fad45e3415699e542f0
SHA256: a06e3db5f78c629e38eaac8e75ca8bbcebb1d0bcc392430ca57c9f0ea8548f1a
SHA512: f449b1a8ce33822f41d5134d9455dbb33320611d73a77d1852c9786097a6f8dad3985511e51aff427432428e25780e9c33757fa99b4ea8f848c2b99f29dcb9aa
Homepage: https://github.com/mishoo/UglifyJS
Description-en: JavaScript parser, mangler/compressor and beautifier - browser 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.
.
This package provides UglifyJS library directly usable in web browsers.
Description-md5: c0e9e1ab2dc92eafd973642721237727