Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/burakbugraakar/covid-global
- Owner: BurakBugraAkar
- License: mit
- Created: 2021-06-30T08:46:42.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-16T22:08:37.000Z (over 2 years ago)
- Last Synced: 2024-12-13T04:39:01.181Z (about 2 months ago)
- Topics: corona, coronavirus, coronavirus-real-time, coronavirus-tracking, covid-19
- Language: JavaScript
- Homepage:
- Size: 132 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.
```