Thanks to maintainers working on projects like supports-color, you can use Tidelift to give your teams access to a continuously curated stream of validated data about vetted components they need to make intelligent decisions, faster.
You can feel confident bringing supports-color into your application’s dependency tree because the maintainers of supports-color are paid by Tidelift to ensure their open source projects follow standardized secure software development practices.
Supports-Color is a JavaScript library that can detect whether a terminal supports color. It returns an object with a stdout and stderr property for testing either streams. Each property is an object, or "false" if color is not supported.
Supports-Color is available via the npm package manager.
Within days of using the Tidelift application, the Distributive team found a potential vulnerability that npm-audit hadn’t, and quickly and safely fixed those issues with Tidelift’s CLI tool.
Check out the new state of the open source maintainer report which included 11 key headlines coming out of our new survey of over 300 open source maintainers.
Tidelift mentioned in the Gartner hype cycle for open source software.