chalk/supports-color

The issue has been closed
Implement `NO_COLOR` informal specification #129
mondeja posted onGitHub
Command-line software which adds ANSI color to its output by default should check for the presence of a
NO_COLOR
environment variable that, when present (regardless of its value), prevents the addition of ANSI color.
This is implemented by some other color terminal libraries like go-supportscolor.