Polyman Documentation - v3.1.0
    Preparing search index...

    Function gradient

    • The text with each character in its own color of the gradient, made with chalk. The plain text without colors. Spaces keep no color, so the color runs over the visible characters only.

      Parameters

      • text: string
      • opts: { bold?: boolean } = {}

      Returns string