Skip to main content
Module

x/supports_color/mod.ts>SupportsColorOptions

🦕 A Deno port of chalk's supports-color
Latest
interface SupportsColorOptions
import { type SupportsColorOptions } from "https://deno.land/x/supports_color@0.1.0/mod.ts";

Properties

optional
sniffFlags: boolean

Whether or not to use command line arguments to detect color support

optional
streamIsTTY: boolean

Override for the automatic detection of whether the stream is a TTY or not

optional
args: string[]

Override for the command line arguments

optional
os: Deno.build.os

Override for what OS to detect color support of

optional
osRelease: string

Override for what release your OS is