ColorSupportOptions

View Source

Summary

Options that control ANSI color detection.

Signature

interface ColorSupportOptions {
  env?: TerminalEnvironment;
  stream?: { isTTY?: boolean };
}

Properties

env

Environment variables used for color detection (defaults to process.env).

stream

Output stream whose TTY support should be used for color detection (defaults to process.stdout).