function red red(text: string): string ANSI red text. red('not ok 1'); // '\x1b[31mnot ok 1\x1b[39m' when color is enabled; 'not ok 1' otherwise Parameters text: string Return Type string