template-colors
next generation terminal colors!
beautiful color usage within template literals (uses colors behind the scenes)
install
npm install --save template-colors
usage
you can compose colored template literals in many ways
; console; console; console; console; console;
features
rgb / rgbBG (may be unsupported by your terminal)
c`foo bar`c`foo bar`
inline style commands
c`.bold.red`
pre existing styles
c`.red`
defalt styles to apply to whole string
c`.red bar`greyunderline
custom defined styles
c;c; c`foo bar`errorc`foo bar`log