NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #4 most downloaded on npm
ANSI escape codes for styling strings in the terminal
Last release 2 months ago
26 Jul 2026
Ships unpredictably
gaps range from 2 weeks to 2.9 years
Some releases are documented
notes for 16 of 29 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
29 releases · first in 2013
Add extended underline styles and underline colors af41a9e
Fix vulnerability in 6.2.2, see: chalk/chalk#656
One column per quarter.
Fix exported style names ( #83 ) 4a26c33
Expose style names ( #82 ) c427028
Internal refactoring 219ffe6 v6.1.0...v6.1.1
Add support for ansi colors and add .ansi256ToAnsi() , .rgbToAnsi() and .hexToAnsi() ( #71 ) 2ceace1
This package is now pure ESM. Please read this .
Make color conversion functions non-enumerable ( #70 ) cdc520c
Add overline style ( #67 ) 80dcce2
Remove support for hsv , hwb , ansi , and CSS keyword colors
hsv, hwb, ansi, and CSS keyword colors
color-convert, which is what we used to depend on.Inline CSS colors TypeScript type (#62) 835fb45
https://github.com/chalk/ansi-styles/compare/v4.2.1...v4.3.0
https://github.com/chalk/ansi-styles/compare/v4.2.0...v4.2.1
https://github.com/chalk/ansi-styles/compare/v4.2.0...v4.2.1
Add TypeScript type definition (#55) c365526
https://github.com/chalk/ansi-styles/compare/v4.1.0...v4.2.0
Lazy load color converters (#53) 3fb3646
Improvements:
https://github.com/chalk/ansi-styles/compare/v4.0.0...v4.1.0
Add bright black color (#49) fb5b656
Breaking:
Enhancements:
https://github.com/chalk/ansi-styles/compare/v3.2.1...v4.0.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
This major release includes 256 and 16 million color codes via the `color-convert` module. See all possible conversions.
This major release includes 256 and 16 million color codes via the color-convert module.
See all possible conversions.
This module now requires Node.js 4 or higher.
- ansiStyles.colors
+ ansiStyles.color
- ansiStyles.bgColors
+ ansiStyles.bgColor
- ansiStyles.modifiers
+ ansiStyles.modifier
# 16 color codes
+ ansiStyles.color.ansi.rgb(r, g, b)
+ ansiStyles.color.ansi.hsl(h, s, l)
+ ansiStyles.color.ansi.hex('#ABCDEF')
# 256 color codes
+ ansiStyles.color.ansi256.rgb(r, g, b)
+ ansiStyles.color.ansi256.hsl(h, s, l)
+ ansiStyles.color.ansi256.hex('#ABCDEF')
# 16 million (RGB) color codes
+ ansiStyles.color.ansi16m.rgb(r, g, b)
+ ansiStyles.color.ansi16m.hsl(h, s, l)
+ ansiStyles.color.ansi16m.hex('#ABCDEF')
https://github.com/chalk/ansi-styles/compare/v2.2.1...v3.0.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →