covid19-global

1.0.2 • Public • Published

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

Package Sidebar

Install

npm i covid19-global

Weekly Downloads

8

Version

1.0.2

License

MIT

Unpacked Size

3.17 kB

Total Files

3

Last publish

Collaborators

  • roalia