JavaScript 🦠 Track the Coronavirus disease (COVID-19) or the Novel Coronavirus Strain in the command line. Both worldwide for all countries, for one country, or for the US States. Fast response time (< 100ms).
Track the Coronavirus disease (COVID-19) or the Novel Coronavirus Strain.
corona-cli
🚀 Get worldwide Coronavirus disease (COVID-19) reporting
🤯 Active daily reporting of your country's COVID-19 statistics
🗃️ Data: Country, Cases, Deaths, Recovered, Active, Critical, Per Million
Install
# Install globally (recommended).
npm install -g corona-cli
# Or run directly with npx (installs CLI on every run).
npx corona-cli
Usage
All Countries
# Display data for all countries.
corona
# Display data for all countries in single color.
corona --xcolor
# Alias: Display data for all countries in single color.
corona -x
Single Country
# Display data for given country.
corona <countryName># Display data for given country i.e. China.
corona china
# Display data for given country i.e. USA.
corona usa
US States Data
# Display data for all the US states.
corona states
# Display states data sorted by active cases.
corona states --sort active
# Display states data sorted by Cases today.
corona states -s cases-today
Sort Data
# Sort data by type
corona --sort country
corona --s cases
# All sorting parameters.
corona -s country
corona -s cases
corona -s cases-today
corona -s deaths
corona -s deaths-today
corona -s recovered
corona -s active
corona -s critical
corona -s per-million
CLI Help
# Display the help data.
corona help
corona --help
(follow) To stay up to date on free & open-source software
(follow) To get #OneDevMinute daily hot tips & trolls
(subscribe) To tech talks & #OneDevMinute videos
(read) In-depth & long form technical articles
(connect) On the LinkedIn profile y'all
Sponsor
Me (Ahmad Awais) and my incredible wife (Maedah Batool) are two engineers who fell in love with open source and then with each other. You can read more about me here. If you or your company use any of my projects or like what I’m doing then consider backing me. I'm in this for the long run. An open-source developer advocate.
Or you can back me by checking out my super fun video course. As developers, we spend over 200 Hrs/month with our code editors — it's only fair to learn your next editor deeply. This course will save you 15-20 hours every month. Become a VSCode Power User →