ts-jhu-covid19

Provides access to the data published at the COVID-19 Data Repository by the Center for Systems Science and Engineering (CSSE) at Johns Hopkins University

View on GitHub

@gregoranders/jhu-covid19

Provides access to the data published at the COVID-19 Data Repository by the Center for Systems Science and Engineering (CSSE) at Johns Hopkins University

API Docs

License Issues Code maintainability Code issues Code Technical Debt

types node

Main Language Languages Code Size Repository Size

Requires fetch

Features

GitHub Coveralls  
Release Build   npm
Master Build Master Coverage Master Version
Development Build Test Coverage Development Version

Example

npm install @gregoranders/jhu-covid19
import fetch from 'node-fetch';
import Provider from '@gregoranders/jhu-covid19';

const main = async () => {
  const provider = new Provider(fetch);
  const model = await provider.get();

  console.log(model);
};

main();

Clone repository

git clone https://github.com/gregoranders/ts-jhu-covid19

Install dependencies

npm install

Build

npm run build

Testing

Test using Jest

npm test

Code Climate Checks docker required

npm run codeclimate

Clear

npm run clear