How To Install Yui-compressor?

How To Install Yui-compressor?

yui-compressor

JavaScript/CSS minifier

Maintainer: Debian Java Maintainers



Section: java

Install yui-compressor

  • Debian apt-get install yui-compressor Click to copy
  • Ubuntu apt-get install yui-compressor Click to copy
  • Kali Linux apt-get install yui-compressor Click to copy
  • Raspbian apt-get install yui-compressor Click to copy

yui-compressor

JavaScript/CSS minifier

The YUI Compressor is a JavaScript compressor which, in addition to removing comments and white-spaces, obfuscates local variables using the smallest possible variable name. This obfuscation is safe, even when using constructs such as 'eval' or 'with' (although the compression is not optimal is those cases) Compared to jsmin, the average savings is around 20%. The YUI Compressor is also able to safely compress CSS files. The decision on which compressor is being used is made on the file extension (js or css).

Installing yui-compressor command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Kali and Raspbian operating systems. Once you run the command it will install the latest version of yui-compressor 2024 package in your OS.