Skip to content
🌈Make your debug life a little bit more colorful
Branch: master
Clone or download
Latest commit d59f09c Jan 2, 2020


Type Name Latest commit message Commit time
Failed to load latest commit information.
assets Delete ex2.png Dec 28, 2019
lib Function renamed. Keep it simple Dec 28, 2019
test batman Dec 21, 2019
.formatter.exs batman Dec 21, 2019
.gitignore .gitignore update Dec 23, 2019 Update Jan 2, 2020
mix.exs Update mix.exs Dec 28, 2019
mix.lock Add hex docs Dec 23, 2019


Rainbow Inspector

Rainbow Inspector is a small library that allows you to specify a color of output given by inspect() function.

How it works?

You can look at the Rainbow Inspector as an override of IO.inspect function. Whole "project" consists of one function - inspect/2, that as a second parameter takes colour name as an atom.

Allowed colours are: :black, :blue, :cyan, :green, :magenta, :red, :white and :yellow.


The package can be installed by adding rainbow_inspector to your list of dependencies in mix.exs:

def deps do
    {:rainbow_inspector, "~> 0.1.0"}

After you've added Rainbow Inspector, you are ready to debug - with colors ;)



You can’t perform that action at this time.