Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/burakbugraakar/covid-global

A fast and stable module that provides information about country's current situation of COVID-19
https://github.com/burakbugraakar/covid-global

corona coronavirus coronavirus-real-time coronavirus-tracking covid-19

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# covid-global

```shell
npm install covid-global
```

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

```javascript
const covid = require("covid-global")

async function output() {
let country = await covid.country("Turkey")
console.log(country)
}
output()
```

Data output

```cmd
> {
> 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
```cmd
You can pull information of COVID-19 current situation by typing the name of the country you choose on the world!
```

#Update Note
```cmd
Only bug fixes and new features are updated.
```