Parses a string with color codes.
String to parse.
Optional
The prefix to use for color codes.
Whether to clear the color at the end of the string.
The parsed string.
const res = Parser('§cHello §eworld§r!');console.log(res); // 'Hello world!' Copy
const res = Parser('§cHello §eworld§r!');console.log(res); // 'Hello world!'
Parses a string with color codes.