Skip to content

Add support for NO_COLOR environment variable #1619

@Gerrit0

Description

@Gerrit0

Search Terms

Color escapes

Problem

Today, TypeDoc includes ANSI colors for colorizing output. Most of the time, this is fine, but some tools don't handle it well.

Suggested Solution

Check for NO_COLOR and don't output color codes if it is set - https://no-color.org/
tsc is adding support for NO_COLOR in an upcoming release, we should support it too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueEasier issue for first time contributors

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions