Sets the color of text to be printed to red.
Disable by setting the NO_COLOR environmental variable.
NO_COLOR
Text to make red
Red text for printing
import { red } from "@std/internal/styles";console.log(red("Hello, world!")); // Prints "Hello, world!" in red Copy
import { red } from "@std/internal/styles";console.log(red("Hello, world!")); // Prints "Hello, world!" in red
Sets the color of text to be printed to red.
Disable by setting the
NO_COLORenvironmental variable.