chalk

Terminal string styling done right
v5.4.1 URL: https://unpkg.com/chalk@5.4.1/source/index.js
OpenBrowse Files
colorcolourcolorsterminalconsoleclistringansistylestylesttyformattingrgb256shellxtermlogloggingcommand-linetext

ansi-styles

ANSI escape codes for styling strings in the terminal
v6.2.1 URL: https://unpkg.com/ansi-styles@6.2.1/index.js
OpenBrowse Files
ansistylescolorcolourcolorsterminalconsoleclistringttyescapeformattingrgb256shellxtermlogloggingcommand-linetext

supports-color

Detect whether a terminal supports color
v10.0.0 URL: https://unpkg.com/supports-color@10.0.0/browser.js
OpenBrowse Files
colorcolourcolorsterminalconsolecliansistylesttyrgb256shellxtermcommand-linesupportsupportscapabilitydetecttruecolor16m

has-flag

Check if argv has a specific flag
v5.0.1 URL: https://unpkg.com/has-flag@5.0.1/index.js
OpenBrowse Files
hascheckdetectcontainsfindflagclicommand-lineargvprocessargargsargumentargumentsgetoptminimistoptimist

ansi-regex

Regular expression for matching ANSI escape codes
v6.1.0 URL: https://unpkg.com/ansi-regex@6.1.0/index.js
OpenBrowse Files
ansistylescolorcolourcolorsterminalconsoleclistringttyescapeformattingrgb256shellxtermcommand-linetextregexregexprematchtestfindpattern