New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

steam-centering

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

steam-centering

Input text, get back text with added spacing to make it appear centered in steam profile descriptions or custom info boxes.

latest
npmnpm
Version
2.1.1
Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 18 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts