How to Install and Uninstall uglifyjs Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 07,2024

1. Install "uglifyjs" package

Learn how to install uglifyjs on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install uglifyjs

2. Uninstall "uglifyjs" package

This guide covers the steps necessary to uninstall uglifyjs on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the uglifyjs package on Ubuntu 20.10 (Groovy Gorilla)

Package: uglifyjs
Architecture: all
Version: 3.10.2-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: 43
Provides: uglifyjs
Depends: node-uglify-js (= 3.10.2-1), nodejs
Suggests: node-acorn
Conflicts: node-uglify
Filename: pool/universe/u/uglify-js/uglifyjs_3.10.2-1_all.deb
Size: 9032
MD5sum: 7176a3f59d10c044e7f990add6792b12
SHA1: ad9e30d95c9b3fcab5cb1d4290112b5b06cf309d
SHA256: bdf1c033a499e5a7744d0dc651b00a2eaf4c2f2ad8dc1658adc85fae86e10923
SHA512: f09a60216471627d463449f1f964996f9e0676d30ef246b01f3d203718b727f6d29b64e40ff012933daa31d0f8c195ea3716dd0806757cc8e91dfa97c6cc5484
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