{"id":2508373,"name":"use-http","ecosystem":"npm","description":"- useFetch - managed state, request, response, etc. [![](https://img.shields.io/badge/example-blue.svg)](https://codesandbox.io/s/usefetch-request-response-managed-state-ruyi3?file=/src/index.js) [![](https://img.shields.io/badge/video-red.svg)](https://w","homepage":"https://use-http.com/","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/alex-cory/use-http","keywords_array":["react hook","react-hook","use","isomorphic","use","http","fetch","hook","react","useFetch","fetch","request","axios","react-use-fetch","react-fetch-hook","use-fetch","suspense","fetch data","usefetch hook","react-hooks-fetch","react usefetch","react hooks tutorial","react-cache","react custom hooks","react-usefetch","react hooks async","react suspense","use hooks","react usefetch hook","fetch-suspense","async hook react","react-hooks-fetch","react hooks usefetch","use fetch hook","react fetch hook","graphql","mutation","query","useAxios","use-axios","use-superagent","superagent","apollo","useGraphQL","use-graphql"],"namespace":null,"versions_count":102,"first_release_published_at":"2019-04-11T22:42:37.905Z","latest_release_published_at":"2023-05-04T22:17:22.630Z","latest_release_number":"1.0.28","last_synced_at":"2026-08-30T03:17:36.725Z","created_at":"2022-04-10T02:47:24.940Z","updated_at":"2026-08-30T03:17:36.726Z","registry_url":"https://www.npmjs.com/package/use-http","install_command":"npm install use-http","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.0.28"},"contentPolicy":null},"repo_metadata":{"id":37209785,"uuid":"180707102","full_name":"ava/use-http","owner":"ava","description":"🐶  React hook for making isomorphic http requests","archived":false,"fork":false,"pushed_at":"2024-02-07T16:10:12.000Z","size":8014,"stargazers_count":2300,"open_issues_count":92,"forks_count":116,"subscribers_count":17,"default_branch":"master","last_synced_at":"2026-08-18T22:46:08.622Z","etag":null,"topics":["fetch","fetch-data","graphql","http","isomorphic","mutation","query","react","react-cache","react-fetch-hook","react-hook","react-hooks","react-suspense","react-usefetch","reacthook","request","rest-client","ssr","suspense","usefetch"],"latest_commit_sha":null,"homepage":"https://use-http.com","language":"TypeScript","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/ava.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/contributing.md","funding":".github/FUNDING.yml","license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"alex-cory"}},"created_at":"2019-04-11T03:26:44.000Z","updated_at":"2026-07-05T16:38:21.000Z","dependencies_parsed_at":"2024-05-03T10:00:20.373Z","dependency_job_id":"b09d162c-10ea-4763-8501-9560f9761006","html_url":"https://github.com/ava/use-http","commit_stats":{"total_commits":612,"total_committers":41,"mean_commits":"14.926829268292684","dds":0.4771241830065359,"last_synced_commit":"031b2ee8e00241fc8585dda7cf0c135eda5a181a"},"previous_names":["alex-cory/use-http","alex-cory/react-usefetch"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/ava/use-http","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ava%2Fuse-http","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ava%2Fuse-http/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ava%2Fuse-http/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ava%2Fuse-http/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ava","download_url":"https://codeload.github.com/ava/use-http/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ava%2Fuse-http/sbom","scorecard":{"id":179872,"data":{"date":"2025-08-11","repo":{"name":"github.com/ava/use-http","commit":"6225d32f1ff40f46a98f65797015e8d86425de9e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.3,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":4,"reason":"Found 12/30 approved changesets -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: license.md:0","Info: FSF or OSI recognized license: MIT License: license.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 12 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"36 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-7gc6-qh9x-w6h8","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-7wpw-2hjm-89gp","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-w7rc-rwvf-8q5r","Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g","Warn: Project is vulnerable to: GHSA-5fw9-fq32-wv5p","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-jgrx-mgxx-jf9v","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-6fc8-4gx4-v693","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T18:36:35.061Z","repository_id":37209785,"created_at":"2025-08-16T18:36:35.062Z","updated_at":"2025-08-16T18:36:35.062Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36846497,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-08-23T02:00:05.822Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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"},"owner_record":{"login":"ava","name":"Ava","uuid":"53535845","kind":"organization","description":"Rapid Application Development","email":null,"website":"https://ava.inc","location":"Global","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/53535845?v=4","repositories_count":3,"last_synced_at":"2023-03-04T11:49:26.839Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/ava","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-14T18:17:17.049Z","updated_at":"2023-03-04T11:49:26.864Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ava","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ava/repositories"},"tags":[{"name":"1.0.8","sha":"8c8937d9fb7e9a5bc50b4411b666138a999dbe8c","kind":"commit","published_at":"2020-04-23T02:25:44.000Z","download_url":"https://codeload.github.com/ava/use-http/tar.gz/1.0.8","html_url":"https://github.com/ava/use-http/releases/tag/1.0.8","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/ava/use-http@1.0.8","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ava%2Fuse-http/tags/1.0.8","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ava%2Fuse-http/tags/1.0.8/manifests"},{"name":"1.0.6","sha":"599207bcb34d6ba35f73e886efb50a4f2973b2cc","kind":"commit","published_at":"2020-04-17T02:12:40.000Z","download_url":"https://codeload.github.com/ava/use-http/tar.gz/1.0.6","html_url":"https://github.com/ava/use-http/releases/tag/1.0.6","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/ava/use-http@1.0.6","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ava%2Fuse-http/tags/1.0.6","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ava%2Fuse-http/tags/1.0.6/manifests"},{"name":"1.0.2","sha":"35d99b15215a67cb04dfb195d1fa6e67cfe2879a","kind":"commit","published_at":"2020-04-14T05:31:22.000Z","download_url":"https://codeload.github.com/ava/use-http/tar.gz/1.0.2","html_url":"https://github.com/ava/use-http/releases/tag/1.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/ava/use-http@1.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ava%2Fuse-http/tags/1.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ava%2Fuse-http/tags/1.0.2/manifests"},{"name":"0.2.1","sha":"071a6b9bf1b46cad31305890a52a702e56cf7d5b","kind":"commit","published_at":"2019-11-19T19:00:57.000Z","download_url":"https://codeload.github.com/ava/use-http/tar.gz/0.2.1","html_url":"https://github.com/ava/use-http/releases/tag/0.2.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/ava/use-http@0.2.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ava%2Fuse-http/tags/0.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ava%2Fuse-http/tags/0.2.1/manifests"},{"name":"0.2.0","sha":"f9627d4b75d87e2a31e38c344ab7460c033e5d4d","kind":"commit","published_at":"2019-11-19T07:25:12.000Z","download_url":"https://codeload.github.com/ava/use-http/tar.gz/0.2.0","html_url":"https://github.com/ava/use-http/releases/tag/0.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/ava/use-http@0.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ava%2Fuse-http/tags/0.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ava%2Fuse-http/tags/0.2.0/manifests"},{"name":"1.2","sha":"b912f729652ac439bda4f355d3c6c1f3ab502d63","kind":"commit","published_at":"2019-06-20T07:21:40.000Z","download_url":"https://codeload.github.com/ava/use-http/tar.gz/1.2","html_url":"https://github.com/ava/use-http/releases/tag/1.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/ava/use-http@1.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ava%2Fuse-http/tags/1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ava%2Fuse-http/tags/1.2/manifests"},{"name":"1.1","sha":"323fa782fa14db7fdbcba3a59ce2a6391520e7f7","kind":"commit","published_at":"2019-04-28T00:06:52.000Z","download_url":"https://codeload.github.com/ava/use-http/tar.gz/1.1","html_url":"https://github.com/ava/use-http/releases/tag/1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/ava/use-http@1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ava%2Fuse-http/tags/1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ava%2Fuse-http/tags/1.1/manifests"},{"name":"1.0","sha":"ef77d8484e50b3991a9346e060ecc9e98d58ef6c","kind":"commit","published_at":"2019-04-20T08:35:32.000Z","download_url":"https://codeload.github.com/ava/use-http/tar.gz/1.0","html_url":"https://github.com/ava/use-http/releases/tag/1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/ava/use-http@1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ava%2Fuse-http/tags/1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ava%2Fuse-http/tags/1.0/manifests"}]},"repo_metadata_updated_at":"2026-08-23T08:32:43.150Z","dependent_packages_count":44,"downloads":85260,"downloads_period":"last-month","dependent_repos_count":526,"rankings":{"downloads":0.7197115672824124,"dependent_repos_count":0.7812575826346604,"dependent_packages_count":0.6568890276894811,"stargazers_count":1.937785999137899,"forks_count":2.9733919105241973,"docker_downloads_count":1.1435793098900384,"average":1.3687692328597814},"purl":"pkg:npm/use-http","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/use-http","docker_dependents_count":8,"docker_downloads_count":1718,"usage_url":"https://repos.ecosyste.ms/usage/npm/use-http","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/use-http/dependencies","status":null,"funding_links":["https://github.com/sponsors/alex-cory"],"critical":null,"issue_metadata":{"last_synced_at":"2026-08-18T22:46:08.961Z","issues_count":72,"pull_requests_count":41,"avg_time_to_close_issue":6706716.130434782,"avg_time_to_close_pull_request":4642334.388888889,"issues_closed_count":23,"pull_requests_closed_count":18,"pull_request_authors_count":20,"issue_authors_count":64,"avg_comments_per_issue":3.4027777777777777,"avg_comments_per_pull_request":0.9512195121951219,"merged_pull_requests_count":12,"bot_issues_count":0,"bot_pull_requests_count":17,"past_year_issues_count":1,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":1,"past_year_avg_comments_per_issue":0.0,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/ava%2Fuse-http/issues","maintainers":[{"login":"sgtwilko","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/sgtwilko"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/use-http/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/use-http/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/use-http/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/use-http/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/use-http/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/use-http/codemeta","maintainers":[{"uuid":"alex-cory","login":"alex-cory","name":null,"email":"alexcoryregister@gmail.com","url":null,"packages_count":20,"html_url":"https://www.npmjs.com/~alex-cory","role":null,"created_at":"2022-11-15T05:51:04.597Z","updated_at":"2022-11-15T05:51:04.597Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/alex-cory/packages"}]}