1.1.4 • Published 2 years ago

covidd v1.1.4

Weekly downloads
-
License
ISC
Repository
-
Last release
2 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

2 years ago

1.1.0

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.0.1

3 years ago

1.0.0

3 years ago