{"id":14384511,"url":"https://github.com/mrsaeeddev/react-covid-hooks","last_synced_at":"2025-03-19T13:31:22.699Z","repository":{"id":39172133,"uuid":"253452910","full_name":"mrsaeeddev/react-covid-hooks","owner":"mrsaeeddev","description":"📈 Get Statistics for 🦠  COVID19 Harnessing the Power of  ⚛️ React Hooks","archived":false,"fork":false,"pushed_at":"2023-01-06T02:50:10.000Z","size":28001,"stargazers_count":24,"open_issues_count":20,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T19:00:50.505Z","etag":null,"topics":["corona","coronavirus","coronavirus-analysis","coronavirus-globaloutbreak","coronavirus-info","coronavirus-real-time","coronavirus-tracking","covid-19","covid19","hooks","hooks-api","hooks-api-react","react","react-hooks","reactjs"],"latest_commit_sha":null,"homepage":"https://twitter.com/mrsaeeddev","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrsaeeddev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-06T09:34:16.000Z","updated_at":"2023-08-01T12:39:06.000Z","dependencies_parsed_at":"2023-02-05T03:47:08.110Z","dependency_job_id":null,"html_url":"https://github.com/mrsaeeddev/react-covid-hooks","commit_stats":null,"previous_names":["iamsaeeddev/react-covid-hooks"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrsaeeddev%2Freact-covid-hooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrsaeeddev%2Freact-covid-hooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrsaeeddev%2Freact-covid-hooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrsaeeddev%2Freact-covid-hooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrsaeeddev","download_url":"https://codeload.github.com/mrsaeeddev/react-covid-hooks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243992395,"owners_count":20380196,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["corona","coronavirus","coronavirus-analysis","coronavirus-globaloutbreak","coronavirus-info","coronavirus-real-time","coronavirus-tracking","covid-19","covid19","hooks","hooks-api","hooks-api-react","react","react-hooks","reactjs"],"created_at":"2024-08-28T18:01:26.350Z","updated_at":"2025-03-19T13:31:22.354Z","avatar_url":"https://github.com/mrsaeeddev.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003ch4 align=\"center\"\u003e\n    \u003ca href=\"https://github.com/iamsaeeddev/react-covid-hooks\"\u003e\n        \u003cimg src=\"https://raw.githubusercontent.com/iamsaeeddev/react-covid-hooks/master/logo.png\"\u003e\n    \u003c/a\u003e\n\n\u003cbr/\u003e\n\u003cbr/\u003e\n\n📈 Statistics for 🦠 COVID19 harnessing the power of ⚛️ React Hooks\n\n[![NPM](https://img.shields.io/npm/v/react-covid-hooks.svg)](https://www.npmjs.com/package/react-covid-hooks) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/iamsaeeddev/react-covid-hooks/issues)\n\u003c/h4\u003e\n\u003cbr/\u003e\n\n\n# react-covid-hooks\n\u003e 📈 Get Statistics for 🦠  COVID19 Harnessing the Power of  ⚛️ React Hooks\n\n- 🚀 get overall statistics, country-wise, state-wise (US) and statistics till yesterday\n- 🦠 get overall statistics for COVID19\n- 🇺🇸 get updated statistics for all US states\n- 🗺️ get statistics for all countries of the world \n- ⏮️ get updates statistics for yesterday\n- 📈 For overall statistics, Data : updated (Time Stamp), cases, todayCases, deaths, todayDeaths, recovered, active, critical, casesPerOneMillion, deathsPerOneMillion, tests, testsPerOneMillion, affectedCountries\n- 📈 For all states of the US, Data : state, cases, todayCases, deaths, todayDeaths, active, tests, testsPerOneMillion\n- 📈 For all countries of the world, Data : country, countryInfo, updated, cases, todayCases, deaths, todayDeaths, recovered, active, critical, casesPerOneMillion, deathsPerOneMillion, tests, testsPerOneMillion\n- 📈 For statistics till yesterday, Data : country, countryInfo, updated, cases, todayCases, deaths, todayDeaths, recovered, active, critical, casesPerOneMillion, deathsPerOneMillion, tests, testsPerOneMillion\n\n\n\n## 📥 Install\n\n```\nnpm install react-covid-hooks\n```\n\n\n## 💅 Usage\n\n### 📈 All Statistics\n\n```\nimport { useAll } from 'react-covid-hooks';\n\nconst allStats = useAll();\n```\n\n\n### 📈 Country-wise Statistics\n\n```\nimport { useCountries } from 'react-covid-hooks';\n\nconst allCountries = useCountries();\n```\n\n\n### 📈 State-wise Statistics \n\n```\nimport { useStates } from 'react-covid-hooks';\n\nconst allStates = useStates();\n```\n\n\n### 📈 Statistics till Yesterday\n\n```\nimport { useYesterday } from 'react-covid-hooks';\n\nconst yesterdayStats = useYesterday();\n```\n\n\n\n## 🗒️ Changelog\n\nChangelog exists in the [releases](https://github.com/mrsaeeddev/react-covid-hooks/releases) tab\n\n\n\n## ⚙️ Contributions\n\nContributions/PRs/Feedback is welcome\n\n\n\n## 📔 License\n\nThis library is release under [MIT License](https://github.com/mrsaeeddev/react-covid-hooks/blob/master/LICENSE)\n\n\n\n## ⛓️ Connect\n\n\u003cdiv align=\"left\"\u003e\n    \u003cp\u003e\u003ca href=\"https://github.com/mrsaeeddev\"\u003e\u003cimg alt=\"GitHub @mrsaeeddev\" align=\"center\" src=\"https://img.shields.io/badge/GITHUB-gray.svg?colorB=6cc644\u0026colorA=6cc644\u0026style=flat\" /\u003e\u003c/a\u003e\u0026nbsp;\u003csmall\u003e\u003cstrong\u003e 💻 \u003c/strong\u003e Want to get updated on latest trends in Open Source? Follow me on GitHub!\u003c/small\u003e\u003c/p\u003e\n    \u003cp\u003e\u003ca href=\"https://twitter.com/mrsaeeddev/\"\u003e\u003cimg alt=\"Twitter @mrsaeeddev\" align=\"center\" src=\"https://img.shields.io/badge/TWITTER-gray.svg?colorB=1da1f2\u0026colorA=1da1f2\u0026style=flat\" /\u003e\u003c/a\u003e\u0026nbsp;\u003csmall\u003e\u003cstrong\u003e 🐦 \u003c/strong\u003e Want to get help or discuss something? Get connected on Twitter!\u003c/small\u003e\u003c/p\u003e\n    \u003cp\u003e\u003ca href=\"https://dev.to/mrsaeeddev\"\u003e\u003cimg alt=\"DEV @mrsaeeddev\" align=\"center\" src=\"https://img.shields.io/badge/MY%20BLOG-gray.svg?colorB=4D2AFF\u0026colorA=4D2AFF\u0026style=flat\" /\u003e\u003c/a\u003e\u0026nbsp;\u003csmall\u003e\u003cstrong\u003e 📖 \u003c/strong\u003e Want to read my articles? Visit my DEV blog!\u003c/small\u003e\u003c/p\u003e\n    \u003cp\u003e\u003ca href=\"https://www.linkedin.com/in/mrsaeeddev/\"\u003e\u003cimg alt=\"LinkedIn @mrsaeeddev\" align=\"center\" src=\"https://img.shields.io/badge/LINKEDIN-gray.svg?colorB=0077b5\u0026colorA=0077b5\u0026style=flat\" /\u003e\u003c/a\u003e\u0026nbsp;\u003csmall\u003e\u003cstrong\u003e 🏢 \u003c/strong\u003e Want to see my professional journey? Let's Connect on LinkedIn\u003c/small\u003e\u003c/p\u003e\n\u003c/div\u003e\n\n\u003cbr\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrsaeeddev%2Freact-covid-hooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrsaeeddev%2Freact-covid-hooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrsaeeddev%2Freact-covid-hooks/lists"}