Generate sparklines ▁▂▃▅▂▇
JavaScript port of spark.sh.
Some cool use-cases.
$ npm install --save sparkly
var sparkly = require('sparkly');
sparkly([0, 3, 5, 8, 4, 3, 4, 10]);
//=> ▁▃▄▇▄▃▄█
// supplying anything other than finite numbers will cause holes
sparkly([0, 3, 5, '', 4, 3, 4, 10]);
//=> ▁▃▄ ▄▃▄█
$ npm install --global sparkly
$ sparkly --help
Usage
sparkly <number> ...
echo <number> ... | sparkly
Example
sparkly 0 3 5 8 4 3 4 10
▁▃▄▇▄▃▄█
MIT © Sindre Sorhus