Repository navigation
3.0.0
What's Changed
- Improved performance (thanks to
coloretteandpicocolors) - NO_COLOR support (also --no-color)
- Simplified API
- Color support override
- Proper handling of
boldanddimmodifiers - Proper handling of
reset(optional)
BREAKING CHANGES
This version breaks compatibility with previous versions!
- renamed
fudefunction toFude. Now this function takes an object ({level: number|string}) and returns a set of coloring/formatting functions for the selected level. Used to override the color support level, similar to whatChalk({level})does. - some coloring functions have their named changed to better conform with other CLI text coloring libraries.
Full Changelog: v2.0.0...v3.0.0