steam-centering
v2.1.1
Published
Input text, get back text with added spacing to make it appear centered in steam profile descriptions or custom info boxes.
Downloads
6
Readme
steam-centering
Input text, get back text with added spacing to make it appear centered in steam profile descriptions or custom info boxes.
This is still somewhat inaccurate and does not achieve perfect centering as Steam sanitizes the input and sometimes strips characters that are needed for spacing.
Usage
Installation,
$ npm i -g steam-centering
$ steam-center -h
...and a usage example:
steam-center -ds -I in.txt -O out.txt --target summary
Will read all lines from in.txt (-I
), add padding on both sides of every line (-d
) to make it appear centered in steam profile summaries (--target
). It will write the centered lines to out.txt (-O
) and not output anything in the terminal (-s
).
Usage: index [options]
Options:
-V, --version output the version number
-I, --in <path> file to read from (to be used with --out) (default: in.txt)
-O, --out <path> file to write to (to be used with --in) (default: out.txt)
-L, --line <line> string to center
-t, --target <target> type of box to center for (default: infobox)
-d, --double add padding on both sides
-c, --copy add the centered string to clipboard
-s, --silent be silent
-v, --verbose enable debug logging
-h, --help output usage information