drawille-spark
v1.0.1
Published
Sparkline clone using drawille
Downloads
17
Readme
drawille-spark
Draw sparklines.
Install
$ npm install drawille-sparkIf you need the CLI tool, install it globally:
$ npm install drawille-spark -gUsage
$ spark 0 30 55 80 33 150
⣠⣶⣼$ echo 0 30 55 80 33 150 | spark
⣠⣶⣼$ echo 0 30 55 80 33 150 | spark --lines 2
⢀⢸
⣰⣿⣾API
spark(numbers[, lines])
Returns a String, with numbers graphed on it.
The graph has height of lines line (defaults to 1).
License
MIT
