Const
Set the foreground color to green
// ANSI Themegreen("text") // => "\x1b[32mtext\x1b[39m" (includes reset to default foreground)`${green}text` // => "\x1b[32mtext" (no reset included)green + "text" // => "\x1b[32mtext" (no reset included)green.concat("text") // => "\x1b[32mtext" (no reset included) Copy
// ANSI Themegreen("text") // => "\x1b[32mtext\x1b[39m" (includes reset to default foreground)`${green}text` // => "\x1b[32mtext" (no reset included)green + "text" // => "\x1b[32mtext" (no reset included)green.concat("text") // => "\x1b[32mtext" (no reset included)
Set the foreground color to green