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