Function colorizeString

  • Colorizes a value using ansi-colors.

    Parameters

    • value: any

      the value to be colorized.

    • Rest ...colors: AnsiColor[]

      the style or stles to be applied.

    Returns string