Skip to content

must253/must-covid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

must-covid

npm install must-covid

A fast and stable module that provides information about country's current situation of COVID-19

const must_covid = require("must-covid")

async function output() {
    let country = await must_covid.country("Afghanistan")
    console.log(country)
}
output()

Data output

> {
>   stats: 202,
>   country: 'Afghanistan',
>   cases: 118659,
>   todayCases: 0,
>   deaths: 4871,
>   todayDeaths: 0,
>   recovered: 70016,
>   active: 43772,
>   critical: 1124,
>   casesPerOneMillion: 2982,
>   deathsPerOneMillion: 122,
>   totalTests: 607061,
>   testsPerOneMillion: 15255
> }

Units

You can pull information of COVID-19 current situation by typing the name of the country you choose on the world!

About

global covid information

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published