1.0.8 • Published 5 years ago

@abhinavmir/corona v1.0.8

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

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.2

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago