2.1.1 • Published 6 years ago

steam-centering v2.1.1

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

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
2.1.1

6 years ago

2.1.0

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.0.2

6 years ago

1.0.0

6 years ago