
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
coronavirusapi-wrapper
Advanced tools
npm i coronavirusapi-wrapper
// or
yarn add coronavirusapi-wrapper
import { sdk, usDeath, usConfirmed, globalConfirmed, globalDeath, globalDailyReport, globalRecovered } from "coronavirusapi-wrapper";
// first, authenticate
sdk.auth("<username>", "<password>");
// save token for the next time;
const token = sdk.getToken();
// you can set token directly
sdk.setToken("<Token here>");
// second, call the api endpoint you need
usDeath.getAll();
usConfirmed.getAll();
....
The COVID-19 API documentation is available here. If you need further assistance, don't hesitate to contact us.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
This project is licensed under the BSD 3-Clause License - see the file for details.
(c) 2020-2023 Moat Systems Limited.
FAQs
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.