covtable

Parsing Worldometers corona cases

Usage no npm install needed!

<script type="module">
  import covtable from 'https://cdn.skypack.dev/covtable';
</script>

README

quick easy view of the covid status globally

Install with:
npm i -g covtable

Information is scraped from WorldOMeter Please make sure to visit their site.

I merely parsed the html with cheeriojs/cheerio and did not alter any of the statistics returned.

run with:

covtable --version       Show version number                                   [boolean]
covtable  --counter, -x  Top x to generate the table, 0 will show all
                                                          [number] [default: 10]
covtable  --country, -c  Country information, no world stats will be provided   [string]
covtable  --world, -w    Exclude World stats                                   [boolean]
covtable  --color, -m    Display in multiple colors                            [boolean]
covtable  --border, -b   Show double line border                               [boolean]
covtable  --list, -l     List available countries                              [boolean]
covtable  --help         Show help                                             [boolean]

Ouput examples

single example
double example
single color example
double color example