0.0.10 • Published 2 years ago
@gregoranders/jhu-covid19 v0.0.10
@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
Requires fetch
Features
- TypeScript
- Jest Unit Tests with Code Coverage
- API Docs Generation
- GitHub CI Integration (feature, development, master, release)
- Code Quality via Code Climate and Codacy
| GitHub | Coveralls | |
|---|---|---|
Example
npm install @gregoranders/jhu-covid19import 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-covid19Install dependencies
npm installBuild
npm run buildTesting
Test using Jest
npm testCode Climate Checks docker required
npm run codeclimateClear
npm run clear