{"id":2229912,"name":"react-async-hook","ecosystem":"npm","description":"Async hook","homepage":null,"licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/slorber/react-async-hook","keywords_array":["react-async-hook","async","fetch","axios","promise","react","react-native","reactjs","reactnative","hooks","hook","useAsync","useState","useFetch","usePromise","use-async","use-state","use-fetch","use-promise"],"namespace":null,"versions_count":26,"first_release_published_at":"2018-10-27T17:56:53.846Z","latest_release_published_at":"2021-09-24T12:44:21.707Z","latest_release_number":"4.0.0","last_synced_at":"2026-10-13T05:13:11.686Z","created_at":"2022-04-09T22:49:08.547Z","updated_at":"2026-10-13T05:13:11.964Z","registry_url":"https://www.npmjs.com/package/react-async-hook","install_command":"npm install react-async-hook","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"4.0.0"},"contentPolicy":null},"repo_metadata":{"id":38751588,"uuid":"154992215","full_name":"slorber/react-async-hook","owner":"slorber","description":"React hook to handle any async operation in React components, and prevent race conditions","archived":false,"fork":false,"pushed_at":"2023-07-08T12:55:35.000Z","size":1693,"stargazers_count":1187,"open_issues_count":32,"forks_count":47,"subscribers_count":7,"default_branch":"master","last_synced_at":"2026-09-25T01:43:11.047Z","etag":null,"topics":["hooks"],"latest_commit_sha":null,"homepage":"https://sebastienlorber.com/handling-api-request-race-conditions-in-react","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/slorber.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2018-10-27T17:41:29.000Z","updated_at":"2026-09-23T11:10:27.000Z","dependencies_parsed_at":"2024-06-18T12:37:02.099Z","dependency_job_id":null,"html_url":"https://github.com/slorber/react-async-hook","commit_stats":{"total_commits":109,"total_committers":6,"mean_commits":"18.166666666666668","dds":"0.47706422018348627","last_synced_commit":"9351dab27b4e42623b9acdacbf3524ef220035b1"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/slorber/react-async-hook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slorber%2Freact-async-hook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slorber%2Freact-async-hook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slorber%2Freact-async-hook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slorber%2Freact-async-hook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slorber","download_url":"https://codeload.github.com/slorber/react-async-hook/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slorber%2Freact-async-hook/sbom","scorecard":{"id":831970,"data":{"date":"2025-08-11","repo":{"name":"github.com/slorber/react-async-hook","commit":"9351dab27b4e42623b9acdacbf3524ef220035b1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.3,"checks":[{"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":"Code-Review","score":0,"reason":"Found 1/21 approved changesets -- score normalized to 0","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":"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":"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":"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":"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":"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":"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":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 10 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":"74 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-6chw-6frg-f759","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-x9w5-v3q2-3rhw","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-ff7x-qrg7-qggm","Warn: Project is vulnerable to: GHSA-434g-2637-qmqr","Warn: Project is vulnerable to: GHSA-49q7-c7j4-3p7m","Warn: Project is vulnerable to: GHSA-977x-g7h5-7qgw","Warn: Project is vulnerable to: GHSA-f7q4-pwc6-w24p","Warn: Project is vulnerable to: GHSA-fc9h-whq2-v747","Warn: Project is vulnerable to: GHSA-vjh7-7g9h-fjfh","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-8r6j-v8pm-fqw3","Warn: Project is vulnerable to: MAL-2023-462","Warn: Project is vulnerable to: GHSA-7r28-3m3f-r2pr","Warn: Project is vulnerable to: GHSA-r8j5-h5cx-65gg","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-6c8f-qphg-qjgp","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-fhjf-83wg-r2j9","Warn: Project is vulnerable to: GHSA-92xj-mqp7-vmcj","Warn: Project is vulnerable to: GHSA-wxgw-qj99-44c2","Warn: Project is vulnerable to: GHSA-5rrq-pxf6-6jx5","Warn: Project is vulnerable to: GHSA-8fr3-hfg3-gpgp","Warn: Project is vulnerable to: GHSA-gf8q-jrpm-jvxq","Warn: Project is vulnerable to: GHSA-2r2c-g63r-vccr","Warn: Project is vulnerable to: GHSA-cfm4-qjh2-4765","Warn: Project is vulnerable to: GHSA-x4jg-mjrx-434g","Warn: Project is vulnerable to: GHSA-rp65-9cf3-cjxr","Warn: Project is vulnerable to: GHSA-h7cp-r72f-jxh6","Warn: Project is vulnerable to: GHSA-v62p-rq8g-8h59","Warn: Project is vulnerable to: GHSA-566m-qj78-rww5","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-hwj9-h5mp-3pm3","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-876r-hj45-fw7g","Warn: Project is vulnerable to: GHSA-v63x-xc9j-hhvq","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-w5q7-3pr9-x44w","Warn: Project is vulnerable to: GHSA-3fjq-93xj-3f3f","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-4g88-fppr-53pp","Warn: Project is vulnerable to: GHSA-4jqc-8m5r-9rpr","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-4wf5-vphf-c2xc","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-76p3-8jx3-jpfq","Warn: Project is vulnerable to: GHSA-3rfm-jhwj-7488","Warn: Project is vulnerable to: GHSA-hhq3-ff78-jv3g","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-5fw9-fq32-wv5p","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-h9rv-jmmf-4pgx","Warn: Project is vulnerable to: GHSA-hxcc-f52p-wc94","Warn: Project is vulnerable to: GHSA-3jfq-g458-7qm9","Warn: Project is vulnerable to: GHSA-r628-mhmh-qjhw","Warn: Project is vulnerable to: GHSA-9r2w-394v-53qc","Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh","Warn: Project is vulnerable to: GHSA-qq89-hq3f-393p","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"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-23T17:59:01.951Z","repository_id":38751588,"created_at":"2025-08-23T17:59:01.951Z","updated_at":"2025-08-23T17:59:01.951Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":343170754,"owners_count":38076559,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-06T02:00:06.537Z","response_time":86,"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":"slorber","name":"Sébastien Lorber","uuid":"749374","kind":"user","description":"Editor of ThisWeekInReact.com, Docusaurus maintainer","email":"","website":"https://thisweekinreact.com","location":"Paris","twitter":"sebastienlorber","company":"This Week In React","icon_url":"https://avatars.githubusercontent.com/u/749374?u=d966ea75548708c18bda3d4d2acca2817169639e\u0026v=4","repositories_count":286,"last_synced_at":"2024-04-14T01:19:39.045Z","metadata":{"has_sponsors_listing":true},"html_url":"https://github.com/slorber","funding_links":["https://github.com/sponsors/slorber"],"total_stars":4346,"followers":1714,"following":30,"created_at":"2022-11-02T16:23:47.377Z","updated_at":"2024-04-14T01:20:22.110Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slorber","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slorber/repositories"},"tags":[{"name":"v4.0.0","sha":"db317141ed72ec2917b3eb7b1b344454116a23c3","kind":"commit","published_at":"2021-09-24T12:43:50.000Z","download_url":"https://codeload.github.com/slorber/react-async-hook/tar.gz/v4.0.0","html_url":"https://github.com/slorber/react-async-hook/releases/tag/v4.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/slorber/react-async-hook@v4.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slorber%2Freact-async-hook/tags/v4.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slorber%2Freact-async-hook/tags/v4.0.0/manifests"},{"name":"push","sha":"db317141ed72ec2917b3eb7b1b344454116a23c3","kind":"commit","published_at":"2021-09-24T12:43:50.000Z","download_url":"https://codeload.github.com/slorber/react-async-hook/tar.gz/push","html_url":"https://github.com/slorber/react-async-hook/releases/tag/push","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/slorber/react-async-hook@push","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slorber%2Freact-async-hook/tags/push","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slorber%2Freact-async-hook/tags/push/manifests"},{"name":"v3.3.0","sha":"20fb503b06e604f597745aa69220e024e94e7436","kind":"tag","published_at":"2019-06-27T15:53:24.000Z","download_url":"https://codeload.github.com/slorber/react-async-hook/tar.gz/v3.3.0","html_url":"https://github.com/slorber/react-async-hook/releases/tag/v3.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/slorber/react-async-hook@v3.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slorber%2Freact-async-hook/tags/v3.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slorber%2Freact-async-hook/tags/v3.3.0/manifests"},{"name":"v3.2.1","sha":"14c9f7ce7072b5602ef97029ebd3a987f76f770a","kind":"tag","published_at":"2019-06-19T16:38:43.000Z","download_url":"https://codeload.github.com/slorber/react-async-hook/tar.gz/v3.2.1","html_url":"https://github.com/slorber/react-async-hook/releases/tag/v3.2.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/slorber/react-async-hook@v3.2.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slorber%2Freact-async-hook/tags/v3.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slorber%2Freact-async-hook/tags/v3.2.1/manifests"},{"name":"v3.0.1","sha":"1c880516342302fd0d748b7a9898681d582b0b09","kind":"tag","published_at":"2019-06-04T08:42:03.000Z","download_url":"https://codeload.github.com/slorber/react-async-hook/tar.gz/v3.0.1","html_url":"https://github.com/slorber/react-async-hook/releases/tag/v3.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/slorber/react-async-hook@v3.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slorber%2Freact-async-hook/tags/v3.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slorber%2Freact-async-hook/tags/v3.0.1/manifests"}]},"repo_metadata_updated_at":"2026-10-13T05:13:11.964Z","dependent_packages_count":110,"downloads":1485696,"downloads_period":"last-month","dependent_repos_count":1311,"rankings":{"downloads":0.36403060423868255,"dependent_repos_count":0.5449670688348779,"dependent_packages_count":0.3423289014033355,"stargazers_count":2.3032200357781756,"forks_count":4.174059032419903,"docker_downloads_count":0.9920821732327241,"average":1.4534479693179498},"purl":"pkg:npm/react-async-hook","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/react-async-hook","docker_dependents_count":5,"docker_downloads_count":168426,"usage_url":"https://repos.ecosyste.ms/usage/npm/react-async-hook","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/react-async-hook/dependencies","status":null,"funding_links":["https://github.com/sponsors/slorber"],"critical":null,"issue_metadata":{"last_synced_at":"2026-10-12T02:05:16.474Z","issues_count":47,"pull_requests_count":56,"avg_time_to_close_issue":12186986.161290323,"avg_time_to_close_pull_request":7466305.0,"issues_closed_count":31,"pull_requests_closed_count":41,"pull_request_authors_count":14,"issue_authors_count":36,"avg_comments_per_issue":2.3617021276595747,"avg_comments_per_pull_request":0.5357142857142857,"merged_pull_requests_count":30,"bot_issues_count":0,"bot_pull_requests_count":42,"past_year_issues_count":0,"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":0,"past_year_avg_comments_per_issue":null,"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/slorber%2Freact-async-hook/issues","maintainers":[{"login":"slorber","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/slorber"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-async-hook/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-async-hook/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-async-hook/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-async-hook/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-async-hook/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-async-hook/codemeta","maintainers":[{"uuid":"slorber","login":"slorber","name":null,"email":"lorber.sebastien@gmail.com","url":null,"packages_count":102,"html_url":"https://www.npmjs.com/~slorber","role":null,"created_at":"2022-11-14T00:58:53.295Z","updated_at":"2022-11-14T00:58:53.295Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/slorber/packages"}]}