covid-19-api
COVID-19 global data (from JHU CSSE for now) as-a-service
File Explorer
- index.ts
- confirmed.ts
- deaths.ts
- index.ts
- og.ts
- recovered.ts
- index.ts
- [date].ts
- index.ts
- index.ts
- fetcher.ts
- query.ts
- country-region.ts
- county.ts
- province-state.ts
- index.ts
- count.ts
- confirmed.ts
- deaths.ts
- last-update.ts
- recovered.ts
- index.ts
- index.ts
- og.ts
- statusbadge.ts
- test.ts
- countries.curl
- Inter-Bold.woff2
- Inter-Regular.woff2
- scrape-cumulative-daily.js
- api.ts
- cacheurl.ts
- chromium.ts
- countries.test.ts
- countries.ts
- data.ts
- date.ts
- endpoints.ts
- file.ts
- options.ts
- query.ts
- template.ts
- .all-contributorsrc
- .gitignore
- babel.config.js
- index.html
- now.json
- package.json
- README.md
- tsconfig.json
- yarn.lock
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
git clone
View Details ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
npm install
View Details ▼
npm install
Install Node packages.
npm {{[i|install]}}
Install dependencies listed in `package.json`:
npm {{[i|install]}} {{package_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}
Download the latest version of a package and add it to the list of dev dependencies in `package.json`:
yarn
View Details ▼
yarn
JavaScript and Node.js package manager alternative.
yarn global add {{module_name}}
Install a module globally:
yarn install
Install all dependencies referenced in the `package.json` file (the `install` is optional):
yarn add {{module_name}}@{{version}}
Install a module and save it as a dependency to the `package.json` file (add `--dev` to save as a dev dependency):
