Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (15 sloc) 400 Bytes

colorize

A simple library to color string output with ansi-codes.

Installation

In Leiningen:

:dependencies [[bronsa/colorize "0.2.0"]]

Usage

(require '[colorize.ansi :refer [colorize]])
(colorize "hey" {:fg :red :bg black :extra [:bold :underline]})

License

Copyright ® 2013 Bronsa

Distributed under the Eclipse Public License, the same as Clojure.