stripAnsi (function)
Removes ANSI control characters from a string.
quote (function)
Wraps a string in double quotes, and escapes any double-quotes inside using \".
black (function)
Wraps a string with the ANSI control characters that will make it print as black text.
red (function)
Wraps a string with the ANSI control characters that will make it print as red text.
green (function)
Wraps a string with the ANSI control characters that will make it print as green text.
yellow (function)
Wraps a string with the ANSI control characters that will make it print as yellow text.
blue (function)
Wraps a string with the ANSI control characters that will make it print as blue text.
magenta (function)
Wraps a string with the ANSI control characters that will make it print as magenta text.
cyan (function)
Wraps a string with the ANSI control characters that will make it print as cyan text.
white (function)
Wraps a string with the ANSI control characters that will make it print as white text.
gray (function)
Wraps a string with the ANSI control characters that will make it print as gray text. (Alias for grey.)
grey (function)
Wraps a string with the ANSI control characters that will make it print as grey text. (Alias for gray.)
bgBlack (function)
Wraps a string with the ANSI control characters that will make it have a black background when printed.
bgRed (function)
Wraps a string with the ANSI control characters that will make it have a red background when printed.
bgGreen (function)
Wraps a string with the ANSI control characters that will make it have a green background when printed.
bgYellow (function)
Wraps a string with the ANSI control characters that will make it have a yellow background when printed.
bgBlue (function)
Wraps a string with the ANSI control characters that will make it have a blue background when printed.
bgMagenta (function)
Wraps a string with the ANSI control characters that will make it have a magenta background when printed.
bgCyan (function)
Wraps a string with the ANSI control characters that will make it have a cyan background when printed.
bgWhite (function)
Wraps a string with the ANSI control characters that will make it have a white background when printed.
reset (function)
Prefixes a string with the ANSI control character that resets all styling.
bold (function)
Wraps a string with the ANSI control characters that will make it print with a bold style.
dim (function)
Wraps a string with the ANSI control characters that will make it print with a dimmed style.
italic (function)
Wraps a string with the ANSI control characters that will make it print italicized.
underline (function)
Wraps a string with the ANSI control characters that will make it print underlined.
inverse (function)
Wraps a string with ANSI control characters that will make it print with its foreground (text) and background colors swapped.
hidden (function)
Wraps a string with ANSI control characters that will make it print as hidden.
strikethrough (function)
Wraps a string with the ANSI control characters that will make it print with a horizontal line through its center.