Function asyncDetectANSISupport

  • Asynchronously detects if ANSI colors are supported in the current environment.

    Returns Promise<boolean>

    A promise that resolves to a boolean indicating whether ANSI colors are supported.