Functions

f
createColors(enabled: boolean)

Creates a set of ANSI color helpers with coloring enabled or disabled.

f
magenta(text?: string): string | MagentaReturn
2 overloads

ANSI magenta text. Call without arguments to chain: magenta().bold(text).

Interfaces