ascii-histogram
Ascii histograms for node.
cats | ######################## | 6
ferrets | ############################################################ | 15
dogs | ######## | 2
koalas | | 0
dogs | ==================== | 30
ferrets | ============= | 20
cats | ======== | 12
koalas | == | 3
/data | ******************** | 150gb
/srv | * | 5gb
/etc | | 150mb
Installation
$ npm install ascii-histogram
Example
var histogram = ;var bytes = ; var data = cats: 6 ferrets: 15 dogs: 2 koalas: 0; console;console; // customized var data = ferrets: 20 cats: 12 dogs: 30 koalas: 3; console;console; // value mapping var data = '/srv': '/data': '/etc': ; console;console;
License
MIT