YUI-COMPRESSOR(1)

πŸ“¦ version 2.4.8, in epel 9

okay bestie, welcome to the YUI-COMPRESSOR(1) manual page β€” aka the yuicompressor one β€” and it's giving JavaScript/CSS minifier realness πŸ’…

πŸŽ€ NAME πŸŽ€

yuicompressor β€” your fave JavaScript/CSS minifier, no cap ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

yuicompressor [options] [input file]

πŸ’– DESCRIPTION πŸ’–

okay so here's the tea: yuicompressor has global options and JavaScript-specific options, and you're gonna meet all of them. periodt.

🌍 Global Options 🌍

  • -h, --help β€” shows you this very information, iconic behavior honestly 🫢
  • --type <js|css> β€” tells it what type your input file is, bestie
  • --charset <charset> β€” reads the input file using <charset>, slay
  • --line-break <column> β€” drops a line break after the column number you specify
  • -v, --verbose β€” displays informational messages and warnings, very "tell me everything" of it
  • -o <file> β€” puts the output into <file>; defaults to stdout, iykyk

🧸 JavaScript Options 🧸

  • --nomunge β€” minify only, do not obfuscate
  • --preserve-semi β€” preserve all semicolons, not me being protective of semicolons 😭
  • --disable-optimizations β€” disable all micro optimizations

if you don't specify an input file, it defaults to stdin, bestie. in that case the 'type' option is required. otherwise, the 'type' option is required only if the input file extension is neither 'js' nor 'css' β€” fr fr, that's the rule πŸ’€

✨ EXAMPLES ✨

the following example demonstrates how to use yuicompressor, and it ate:

yuicompressor -o compressed.js original.js

🌈 SEE ALSO 🌈

/usr/share/doc/yuicompressor/README.md β€” go read it, bestie πŸ¦‹

πŸ‘‘ AUTHOR πŸ‘‘

this manual page was written by Damien Raude-Morvan <drazzib@debian.org> and Michael Gilbert <michael.s.gilbert@gmail.com>, for the Debian GNU/Linux system (but may be used by others). give them their flowers πŸ’


mwah πŸ’‹ this page is from yui-compressor, dated January 2010, and it's YUI-COMPRESSOR(1) energy all the way. bye bestie 🫢

πŸ“¦ where this page comes from