1.0.8 • Published 6 years ago

@abhinavmir/corona v1.0.8

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

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.2

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago