@gregoranders/jhu-covid19
v0.0.10
Published
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
Downloads
63
Maintainers
Readme
@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-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