1.0.4 • Published 5 years ago

jhu-covid19-api v1.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

COVID19 API Wrapper (Node.js)

npm version install size

API wrapper for COVID19 API.

Data is sourced from Johns Hopkins University.

Quick start

npm i -s jhu-covid19-api
// Initialize COVID19 API.
const covid = require('jhu-covid19-api');

(async () => {

    // Retrieve summary.
    const summary = await covid.summary();

    console.log('Summary:', summary);

})();

Documentation

Generate docs:

npm run docs

Start HTTP server serving docs:

npm run http-docs

To do list:

  • API documentation
  • Routes extension
1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.1.0

5 years ago