SVGO(1)
β¨ NAME β¨
Okay bestie, welcome to the SVGO(1) page from the User Commands manual π
. This is all about svgo β the nodejs-based tool for optimizing SVG vector graphics files. Slay. π¦
πΈ SYNOPSIS πΈ
svgo [options] [INPUT...]
π OPTIONS π
π Arguments π
INPUTβ alias to--input, iykyk.
β Options β
-v,--versionβ output the version number. Cute and quick. β¨-i,--input <INPUT...>β input files, with-for STDIN. Give it the tea. π«Ά-s,--string <STRING>β input SVG data string. Literally SVG as a string. π¬-f,--folder <FOLDER>β input folder, optimize and rewrite all*.svgfiles. Folder glow-up time. π-o,--output <OUTPUT...>β output file or folder (by default the same as the input), with-for STDOUT. Where the slay goes. π-p,--precision <INTEGER>β set number of digits in the fractional part, overrides plugins params. Precision, no cap. π―--config <CONFIG>β custom config file, only.jsis supported. JS only, bestie. π--datauri <FORMAT>β output as Data URI string (base64), URI encoded (enc) or unencoded (unenc). Pick your format era. π--multipassβ pass over SVGs multiple times to ensure all optimizations are applied. Extra passes because weβre thorough. π--prettyβ make SVG pretty printed. Gorgeous formatting moment. β¨--indent <INTEGER>β indent number when pretty printing SVGs. Spacing is a lifestyle. π--eol <EOL>β line break to use when outputting SVG:lf,crlf. If unspecified, uses platform default. Line ending vibes. πΈ--final-newlineβ ensure SVG ends with a line break. End it with a little newline, periodt. π«Ά-r,--recursiveβ use with--folder. Optimizes*.svgfiles in folders recursively. Go deep, bestie. π§--exclude <PATTERN...>β use with--folder. Exclude files matching regular expression pattern. Not invited to the party. π-q,--quietβ only output error messages, not regular status messages. Shhh, main character focus. π--show-pluginsβ show available plugins and exit. Plugin lineup reveal. π--no-colorβ output plain text without color. Minimalist era. β-h,--helpβ display help for command. When in doubt, ask for help. π
Source/manual: User Commands; date: October 2021 π«Ά Thatβs the footer tea, bestie β page closed with a π and a π.
π¦ where this page comes from
- epel 9: nodejs-svgo 2.8.0-5.el9 Β· MIT and BSD and ISC and CC0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms