shouldUseColors

View Source

Summary

Returns true when ANSI colors should be emitted for the given stream/environment.

Signature

function shouldUseColors(options: ColorSupportOptions): boolean;

Params

options

Color detection options

Returns

true when ANSI colors should be emitted