Skip to content

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

License

Notifications You must be signed in to change notification settings

BurakBugraAkar/covid-global

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

covid-global

npm install covid-global

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

const covid = require("covid-global")

async function output() {
    let country = await covid.country("Turkey")
    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!

#Update Note

Only bug fixes and new features are updated.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published