Function underline

  • Make the text underline.

    Parameters

    • str: string

      The text to underline

    Returns string

    The underlined text

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

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