1.0.8 • Published 4 years ago

@abhinavmir/corona v1.0.8

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago

npm npm NPM

Introduction

The Module fetches data from JHU's Database and returns it as a Promise.

Functions

To import

var coronajs = require("@abhinavmir/corona")

Fetch All Data

coronajs.baseFetch()

Fetch Latest Worldwide data

coronajs.latestFetch()

Fetch Data By Country Name

coronajs.fetchCountryByCode(countryCode)

Note: The Country Code is by ISO 3166-1 alpha-2 standards

Fetch Data by Country Code

coronajs.fetchCountryByName(countryName)

Acknowledgements

The module uses the following API(s): https://coronavirus-tracker-api.herokuapp.com/#/

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.2

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago