Function yellow

  • Sets the color of text to be printed to yellow.

    Disable by setting the NO_COLOR environmental variable.

    Parameters

    • str: string

      Text to make yellow

    Returns string

    Yellow text for print

    import { yellow } from "@std/internal/styles";

    console.log(yellow("Hello, world!")); // Prints "Hello, world!" in yellow