How to Install and Uninstall uglifyjs Package on Kali Linux

Last updated: October 06,2024

1. Install "uglifyjs" package

Please follow the step by step instructions below to install uglifyjs on Kali Linux

$ sudo apt update $ sudo apt install uglifyjs

2. Uninstall "uglifyjs" package

In this section, we are going to explain the necessary steps to uninstall uglifyjs on Kali Linux:

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

3. Information about the uglifyjs package on Kali Linux

Package: uglifyjs
Source: uglify-js
Version: 3.17.4-2
Installed-Size: 45
Maintainer: Debian Javascript Maintainers
Architecture: all
Provides: uglifyjs
Depends: node-uglify-js (= 3.17.4-2), nodejs
Suggests: node-acorn
Conflicts: node-uglify
Size: 12060
SHA256: c1a4757bcfef771eb181e175b81ee98a543926416102c56e3b87ff7b9ccf1ff2
SHA1: 690b8fe0ba90fd393bec06d4142bc2009a5a208d
MD5sum: 983de3a5c2a71aaa5a49471eb3c1c9aa
Description: 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:
Homepage: https://github.com/mishoo/UglifyJS
Section: javascript
Priority: optional
Filename: pool/main/u/uglify-js/uglifyjs_3.17.4-2_all.deb