Ahmad Awais



My Open-source COVID19 Tracking CLI Tool

Ahmad AwaisAhmad Awais

While trying to keep up with COVID19 I built a CLI to avoid all the UIs and bad information out there. Picked a couple of authentic sources (listed at the end) and built a command-line tracker. Open-sourced it and everyone liked it, got trending on #1 in the JavaScript category for days.


Track the Coronavirus disease (COVID-19) or the Novel Coronavirus Strain.




# Install globally (recommended).
npm install -g corona-cli

# Or run directly with npx (installs CLI on every run).
npx corona-cli




All Countries

# Display data for all countries.

# 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

# Reverse sort data
corona --sort active --reverse
corona -s active -r


Charts: Regular & Logarithmic

# Print a country line chart.
corona usa --chart
corona usa --c

# Print a country line chart with logarithmic data.
corona china --chart --log
corona china -c -g


Limit the output

# Print a limited number of entries to the output.
corona --limit 10
corona -l 10

# Print a bare bones table with no info.
corona --minimal
corona -m

CLI Help

# Display the help data.
corona help
corona --help



❯ Read the changelog here β†’

KEY: πŸ“¦ NEW, πŸ‘Œ IMPROVE, πŸ› FIX, πŸ“– DOC, πŸš€ RELEASE, and βœ… TEST

I use Emoji-log, you should try it and simplify your git commits.


License & Conduct


  1. Novel Coronavirus (2019-nCoV) situation reports</a >
    World Health Organization (WHO)
  2. 2019 Novel Coronavirus (2019-nCoV) in the U.S.</a >
    U.S. Centers for Disease Control and Prevention (CDC)
  3. Outbreak Notification – National Health Commission
    (NHC) of the People’s Republic of China
  4. Novel coronavirus (2019-nCoV)
    Australian Government Department of Health
  5. Novel coronavirus 2019-nCoV: early estimation of epidemiological parameters and epidemic prediction</a >
    – Jonathan M. Read et al, Jan. 23,2020.
  6. Early Transmissibility Assessment of a Novel Coronavirus in Wuhan, China</a >
    – Maimuna Majumder and Kenneth D. Mandl, Harvard University – Computational Health Informatics Program – Posted:
    24 Jan 2020 Last revised: 27 Jan 2020
  7. Report 3: Transmissibility of 2019-nCoV</a >
    – 25 January 2020 – Imperial College Londonβ€Œ
  8. Case fatality risk of influenza A(H1N1pdm09): a systematic review</a >
    – Epidemiology. Nov. 24, 2013
  9. A novel coronavirus outbreak of global health concern</a >
    – Chen Want et al. The Lancet. January 24, 2020
  10. Symptoms of Novel Coronavirus (2019-nCoV)</a >
    – CDC
  11. China’s National Health Commission news conference on coronavirus</a >
    – Al Jazeera. January 26, 2020
  12. Wuhan lockdown ‘unprecedented’, shows commitment to contain virus: WHO representative in China</a >
    – Reuters. January 23, 2020
  13. Statement on the meeting of the International Health Regulations (2005) Emergency Committee regarding the
    outbreak of novel coronavirus (2019-nCoV)</a >
    – WHO, January 23, 2020
  14. International Health Regulations Emergency Committee on novel coronavirus in China</a >
    – WHO, January 30, 2020
  15. Human-to-human transmission of Wuhan virus outside of China, confirmed in Germany, Japan and Vietnam</a >
    – The Online Citizen, Jan. 29, 2020
  16. Who: “Live from Geneva on the new #coronavirus outbreak”
  17. CDC Confirms Person-to-Person Spread of New Coronavirus in the United States</a >
    – CDC Press Release, Jan. 30, 2020
  18. CMO confirms cases of coronavirus in England</a >
    – CMO, UK, Jan. 31, 2020
  19. Coronavirus in France: what you need to know</a >
    – The Local France, Jan. 31, 2020
  20. First two persons infected with coronavirus identified in Russia
    Tass, Jan. 31, 2020
  21. Updated understanding of the outbreak of 2019 novel coronavirus (2019nCoV) in Wuhan, China</a >
    – Journal of Medical Virology, Jan. 29, 2020
  22. Estimating the effective reproduction number of the 2019-nCoV in China</a >
    – Zhidong Cao et al., Jan. 29, 2020
  23. Preliminary estimation of the basic reproduction number of novel coronavirus (2019-nCoV) in China, from 2019
    to 2020: A data-driven analysis in the early phase of the outbreak</a >
    – Jan. 30, 2020
  24. Coronavirus: Window of opportunity to act, World Health Organization says</a >
    – BBC, Feb,. 4, 2020
  25. Clinical Characteristics of 138 Hospitalized Patients With 2019 Novel Coronavirus–Infected Pneumonia in
    Wuhan, China</a >
    – Wang et. al, JAMA, Feb. 7, 2020
  26. NovelCOVID API based on top of WorldMeter

Peace! ✌️

Founder & CEO at Langbase.com Β· Ex VP DevRel Rapid Β· Google Developers Advisory Board (gDAB) founding member. πŸ§‘β€πŸ’» AI/ML/DevTools Angel Investor ❯ AI/ML Advisory Board member San Francisco, DevNetwork

🎩 Award-winning Open Source Engineer & Dev Advocate 🦊 Google Developers Expert Web DevRel πŸš€ NASA Mars Ingenuity Helicopter mission code contributor πŸ† 8th GitHub Stars Award recipient with 3x GitHub Stars Award (Listed as GitHub's #1 JavaScript trending developer).

🌳 Node.js foundation Community Committee Outreach Lead, Member Linux Foundation, OpenAPI Business Governing Board, and DigitalOcean Navigator. πŸ“Ÿ Teaching thousands of developers Node.js CLI Automation (100 videos Β· 22 Projects) & VSCode.pro course. Over 142 Million views, 22 yrs Blogging, 56K developers learning, 200+ FOSS.

✌️ Author of various open-source dev-tools and software libraries utilized by millions of developers worldwide ⓦ WordPress Core Developer πŸ“£ TEDx Speaker with 100+ international talks.

✨ As quoted by: Satya Nadella Β· CEO of Microsoft β€” Awais is an awesome example for developers.
πŸ™Œ Leading developers and publishing technical content for over a decade πŸ’œ Loves his wife (Maedah) ❯ Read more about Ahmad Awais.

πŸ‘‹β€¦ Awais is mostly active on Twitter @MrAhmadAwais


Developers Takeaway

Stay ahead in the web dev community with Ahmad's expert insights on open-source, developer relations, dev-tools, and side-hustles. Insider-email-only-content. Don't miss out - subscirbe for a dose of professional advice and a dash of humor. No spam, pinky-promise!

✨ 172,438 Developers Already Subscribed
Comments 1
There are currently no comments.