Install shrinksafe by entering the following commands in the terminal:
sudo apt update sudo apt install shrinksafe
Description:
JavaScript "compression" system
ShrinkSafe is a JavaScript "compression" system. It can typically reduce the size of your scripts by a third or more, depending on your programming style. . Many other tools also shrink JavaScript files, but ShrinkSafe is different. Instead of relying on brittle regular expressions, ShrinkSafe is based on Rhino, a JavaScript interpreter. This allows ShrinkSafe to transform the source of a file with much more confidence that the resulting script will function identically to the file you uploaded. . Best of all, ShrinkSafe will never change a public variable or API. That means that you can drop the compressed version of your JavaScript into your pages without changing the code that uses it.
Homepage: http://shrinksafe.dojotoolkit.org
Version: 1.7.2-1.1
Section: universe/java