function createColors createColors(enabled: boolean) Creates a set of ANSI color helpers with coloring enabled or disabled. createColors(true).green('pass'); // '\x1b[32mpass\x1b[39m' createColors(false).green('pass'); // 'pass' — disabled branch passes text through Parameters enabled: boolean Return Type