Sparkel
Sparkel is a port of spark for Elixir and lets you create ASCII sparklines
Installation
- Add
sparkel
to your list of dependencies inmix.exs
:
```elixir
def deps do
[{:sparkel, "~> 0.1.0"}]
end
```
- Ensure
sparkel
is started before your application:
```elixir
def application do
[applications: [:sparkel]]
end
```
Usage
Sparkel.sparkline [2, 5, 1, 9]
# "▁▄▁█"
Author
Dimitar Kostov (@mytrile)
Credits
Sparkr would not exist without Zach Holman's spark and René Föhring's sparkr
License
Sparkr is released under the MIT License. See the LICENSE file for further details.