Function bgWhite

  • Set background color to white.

    Parameters

    • str: string

      The text to make its background white

    Returns string

    The text with white background

    import { bgWhite } from "@std/fmt/colors";

    console.log(bgWhite("Hello, world!"));