July 7, 2019

148 words 1 min read

chunqiuyiyu/ervy

chunqiuyiyu/ervy

Bring charts to terminal.

repo name chunqiuyiyu/ervy
repo link https://github.com/chunqiuyiyu/ervy
homepage https://www.chunqiuyiyu.com/ervy/
language JavaScript
size (curr.) 123 kB
stars (curr.) 1437
created 2018-10-20
license MIT License
___________                    
\_   _____/_________  _____.__.
 |    __)_\_  __ \  \/ <   |  |
 |        \|  | \/\   / \___  |
/_______  /|__|    \_/  / ____|
        \/              \/     

Travis (.org) GitHub JavaScript Style Guide Install Size

Bring charts to terminal.

Preview

Live Demo(powered by jQuery Terminal Emulator)

Why build this

There is no special reason, just because I love terminal and ASCII art. It’s very cool! Hope you enjoy Ervy and make your terminal more beautiful.

Supported Chart types

Bar

Pie

Bullet

Donut

Gauge

Scatter

APIs

main function

ervy.[chartType](data, options)

render colored characters

// foreground color
ervy.fg(color, character)

// background color
ervy.bg(color, [length])

Supported color: black, red, green, yellow, blue, magenta, cyan and white.

Use demo to understand how to combine APIs in actual code.

Documents

Coming soon…

Credits

@jcubic

License

MIT

comments powered by Disqus