chunqiuyiyu/ervy

Bring charts to terminal.

JavaScript

1,602

12 commits

updated Aug 27, 2023

See the code

README

___________                    
\_   _____/_________  _____.__.
 |    __)_\_  __ \  \/ <   |  |
 |        \|  | \/\   / \___  |
/_______  /|__|    \_/  / ____|
        \/              \/     

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.

Credits

@jcubic

License

MIT

ascii
blog
chart
cli
console
data-visualization
terminal

chunqiuyiyu/ervy

Bring charts to terminal.

JavaScript

1,602

12 commits

updated Aug 27, 2023

See the code

README

___________                    
\_   _____/_________  _____.__.
 |    __)_\_  __ \  \/ <   |  |
 |        \|  | \/\   / \___  |
/_______  /|__|    \_/  / ____|
        \/              \/     

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.

Credits

@jcubic

License

MIT

ascii
blog
chart
cli
console
data-visualization
terminal

Project health

Overall

2.3/10

Maintained

0/10

Code review

2/10
OpenSSF Scorecard

npm

Latest release

1.0.7 · Jan 7, 2020

Releases this year

0

Significant stargazers

Toru Nagashima

1,172 followers · starred Nov 2018

Koen Punt

322 followers · starred Nov 2018

Noa

144 followers · starred Oct 2018

_Kerman

543 followers · starred Feb 2022