wraps text with ansi colour codes and automatically resets at the end.
the text to colourize
the ansi colour code to apply
the colourized text with reset code appended
const redText = colourize('error', COLOURS.FG_RED);console.log(redText); // prints "error" in red Copy
const redText = colourize('error', COLOURS.FG_RED);console.log(redText); // prints "error" in red
wraps text with ansi colour codes and automatically resets at the end.