covid-global

2.4.4 • Public • Published

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.

/covid-global/

    Package Sidebar

    Install

    npm i covid-global

    Weekly Downloads

    0

    Version

    2.4.4

    License

    MIT

    Unpacked Size

    3.7 kB

    Total Files

    5

    Last publish

    Collaborators

    • burakbugraakar