@brillout/picocolors

Tiny and fast library for ANSI terminal color formatting

npmmacoslinuxwindows
Try with needOr install directly
Source

About

The tiniest and the fastest library for terminal output formatting with ANSI colors

Commands

picocolors

Examples

Print colored text in red$ picocolors red 'Error message'
Print text with green color$ picocolors green 'Success!'
Print bold yellow text$ picocolors bold yellow 'Warning'