This is a fork of original trhura/clojure-term-colors, now made work with Clojurescript running on nodejs.
The missing :italic
is also added.
A Clojure library for ASCII terminal color output, based on python termcolor package
clojure-term-colors/clojure-term-colors {:git/url "[email protected]:imakira/clojure-term-colors.git"
:git/sha "b6d90ed1fe95f005740ecdc7dbd3f8d1faa1f889"}
You can also set the *disable-colors*
flag variable (using binding) if you want
to disable colors temporarily.
white, cyan, magenta, blue, yellow, green, red, grey, on-white,
on-cyan, on-magenta, on-blue, on-yellow, on-green, on-red, on-grey,
concealed, reverse-color, blink, underline, dark, italic ,bold
You can even call it from javascript if for some reason you want to do it.
Copyright © 2014 Thura Hlaing
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.