1.0.2 • Published 3 years ago

covid19-global v1.0.2

Weekly downloads
21
License
MIT
Repository
github
Last release
3 years ago

Covid19-Global

Stats

Covid 19

  • Shows cases in the world and countries.

Packages used : axios,cheerio

Data : Data Website

And of course covid19 api itself is open source with a public repository on GitHub.

Installation

Covid19 Api requires Node.js v4+ to run.

Install the package and start the server.

$ npm install covid19-global

Usage

Global data

const corona = require('covid19-global');
let stats = await corona.covid19() // Global Data
let stats = await corona.country('World') // World Data
Country Data

const corona = require('covid19-global');
let stats = await corona.country('Turkey') // Country Data