owid-covid

1.0.5 • Public • Published

Our World in Data - CoronaVirus

Version License: GPL-3.0

What is this package?

This package can return the data related to covid-19 from https://ourworldindata.org/

Install the package 📥

npm install owid-covid

Example ✏️

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);
});

Contributing 🤝

  • Contributions, issues and feature requests are welcome!
  • Feel free to check issues page.

Author 💖

Copyright © 2021 Sujal Goel 👤

Package Sidebar

Install

npm i owid-covid

Weekly Downloads

2

Version

1.0.5

License

GPL-3.0

Unpacked Size

51.6 kB

Total Files

8

Last publish

Collaborators

  • sujalgoel