1SVGO(1)                          User Commands                         SVGO(1)
2
3
4

NAME

6       svgo - manual page for svgo 2.3.0
7

SYNOPSIS

9       svgo [options] [INPUT...]
10

DESCRIPTION

12       Nodejs-based tool for optimizing SVG vector graphics files
13
14   Arguments:
15       INPUT  Alias to --input
16

OPTIONS

18       -v, --version
19              output the version number
20
21       -i, --input <INPUT...>
22              Input files, "-" for STDIN
23
24       -s, --string <STRING>
25              Input SVG data string
26
27       -f, --folder <FOLDER>
28              Input folder, optimize and rewrite all *.svg files
29
30       -o, --output <OUTPUT...>
31              Output  file  or  folder (by default the same as the input), "-"
32              for STDOUT
33
34       -p, --precision <INTEGER>
35              Set number of digits in the fractional part,  overrides  plugins
36              params
37
38       --config <CONFIG>
39              Custom config file, only .js is supported
40
41       --datauri <FORMAT>
42              Output  as  Data URI string (base64), URI encoded (enc) or unen‐
43              coded (unenc)
44
45       --multipass
46              Pass over SVGs multiple times to ensure  all  optimizations  are
47              applied
48
49       --pretty
50              Make SVG pretty printed
51
52       --indent <INTEGER>
53              Indent number when pretty printing SVGs
54
55       -r, --recursive
56              Use  with  '--folder'.  Optimizes  *.svg files in folders recur‐
57              sively.
58
59       --exclude <PATTERN...>
60              Use with '--folder'. Exclude files matching  regular  expression
61              pattern.
62
63       -q, --quiet
64              Only output error messages, not regular status messages
65
66       --show-plugins
67              Show available plugins and exit
68
69       -h, --help
70              display help for command
71
72
73
74svgo 2.3.0                        March 2021                           SVGO(1)
Impressum