Toggle navigation
About Us
Network
Stats
Sponsors
Tools
Purge cache
Convert from
GitHub
Google Hosted Libraries
unpkg
Skypack
esm.sh
Resources
Blog
Newsletter
esm.run
Documentation
Open Source CDN
Public API
Globalping
Github
Twitter
Discord
has-ansi
chalk
popular
esm
Check if a string has ANSI escape codes
Version
6.0.0
License
MIT
Keywords
ansi
styles
color
colour
colors
terminal
console
string
tty
escape
shell
xterm
command-line
text
regex
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 has-ansi Download Stats
Share
Keywords
ansi
styles
color
colour
colors
terminal
console
string
tty
escape
shell
xterm
command-line
text
regex
regexp
match
test
find
pattern
has
Get a badge for your package