sparkly-cli

3.0.0 • Public • Published

sparkly-cli

Generate sparklines ▁▂▃▅▂▇

Some cool use-cases.

Install

npm install --global sparkly-cli

Usage

$ sparkly --help

  Usage
    $ sparkly <number> […]
    $ echo <number> […] | sparkly

  Options
    --min    Minimum range
    --max    Maximum range
    --style  Style for the sparklines [Values: fire]

  Examples
    $ sparkly 0 3 5 8 4 3 4 10
    ▁▃▄▅▃▃▃▆
    $ sparkly --min=0 --max=10 1 2 3 4 5
    ▁▂▃▄▄
    $ sparkly --style=fire 1 2 3 4 5 6 7 8
    ▁▂▂▃▃▄▄▅
    $ echo 0 3 5 8 4 3 | sparkly
    ▁▂▃▅▃▂

Related

Package Sidebar

Install

npm i sparkly-cli

Weekly Downloads

8

Version

3.0.0

License

MIT

Unpacked Size

3.92 kB

Total Files

4

Last publish

Collaborators

  • sindresorhus