1.1.4 • Published 3 years ago

covidd v1.1.4

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Covidd

Covidd is a JavaScript/TypeScript library for getting covid information about different countries. The information provided is covid case count, covid death count, and covid recovery count.

Note: All of the data is provided by worldometers.info | Requires node

Use Cases:

Methods:

getData(statistic, country)

statistic - deaths | cases | recovery | all\ all - array with deaths, cases, and recovery || array0 = Cases; array1 = Deaths; array2 = Recovery

JavaScript

const Covid = require('covidd');
const covid = new Covid();
await covid.getData("cases", "USA");

Typescript

import Covid from 'covid';
const covid = new Covid();
await covid.getData("cases", "USA")

NPM Package Link: https://www.npmjs.com/package/covidd

1.1.1

3 years ago

1.1.0

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.0.1

4 years ago

1.0.0

4 years ago