Takes an input string and adds the ANSI codes for green foreground.
Example
foregroundGreen("Vangware"); // "\x1b[32mVangware\x1b[39m" // It can also be used as a tag function for tagged templates: foregroundGreen`Vangware`; // "\x1b[32mVangware\x1b[39m"
Takes an
input
string and adds the ANSI codes for green foreground.Example
Returns
input
string with green foreground.