Toggle navigation
Globalping
NEW
About Us
Network
Stats
Sponsors
Tools
Purge cache
Convert from
GitHub
Google Hosted Libraries
unpkg
Skypack
esm.sh
Resources
Blog
Newsletter
Documentation
esm.run
API Documentation
jsDelivr
Globalping
Github
Twitter
Discord
supports-color
chalk
popular
esm
Detect whether a terminal supports color
Version
9.3.1
License
MIT
Keywords
color
colour
colors
terminal
console
cli
ansi
styles
tty
rgb
256
shell
xterm
command-line
support
INSTALL
Version:
Static
Static
Latest Patch
Latest Minor
Latest Major
Open in jsfiddle
Learn more
Readme
Files
Statistics
Browse CDN
Statistics
Requests
0
Bandwidth
0
Top version -
0
Full supports-color Download Stats
Share
Keywords
color
colour
colors
terminal
console
cli
ansi
styles
tty
rgb
256
shell
xterm
command-line
support
supports
capability
detect
truecolor
16m
Get a badge for your package