This package can return the data related to covid-19 from https://ourworldindata.org/
npm install owid-covid
getStats example
const covid19 = require("owid-covid");
covid19.getStats("IND").then((data) => {
console.log(data);
});
getVaccineStats example
const covid19 = require("owid-covid");
covid19.getVaccineStats("IND").then((data) => {
console.log(data);
});
getLatestStats example
const covid19 = require("owid-covid");
covid19.getLatestStats("IND").then((data) => {
console.log(data);
});
- Contributions, issues and feature requests are welcome!
- Feel free to check issues page.
- Github: @Sujal Goel
- Website: @Sujal Goel