description export enum TerminalColor { red = 31 , green = 32 , yellow = 33 , blue = 34 , purple = 35 , cyan = 36 } description export enum TerminalDeco { reset = 0 , bold = 1 , underline = 4 } description export class TerminalStyleUtil { description param { string } input param { TerminalColor } color param { TerminalDeco } decoration returns { string } public static ColorTerminalString ( input , color , decoration = TerminalDeco . reset ) { return `\x1b[${ decoration };${ color }m${ input }\x1b[0m` ; } }