{"id":1285786,"name":"@sonofjs/use-async","ecosystem":"npm","description":"*useReducer* hook's extension to manage asynchronous actions over application's state through http requests.","homepage":"https://github.com/sonofjavascript/use-async#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/sonofjavascript/use-async","keywords_array":["useReducer","async","http","actions","hooks","react","axios","fetch","asynchronous"],"namespace":"sonofjs","versions_count":7,"first_release_published_at":"2020-06-18T23:15:55.648Z","latest_release_published_at":"2020-11-20T21:50:24.073Z","latest_release_number":"1.1.0","last_synced_at":"2026-07-13T15:53:24.499Z","created_at":"2022-04-08T19:35:40.799Z","updated_at":"2026-07-13T15:53:24.500Z","registry_url":"https://www.npmjs.com/package/@sonofjs/use-async","install_command":"npm install @sonofjs/use-async","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.1.0"}},"repo_metadata":{"id":39452356,"uuid":"272674300","full_name":"sonofjavascript/use-async","owner":"sonofjavascript","description":"useReducer hook extension to execute http async calls","archived":false,"fork":false,"pushed_at":"2023-01-06T09:19:09.000Z","size":1532,"stargazers_count":7,"open_issues_count":14,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-08T22:38:38.503Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/sonofjavascript.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-16T10:07:33.000Z","updated_at":"2023-11-14T14:19:19.000Z","dependencies_parsed_at":"2023-02-05T18:45:51.426Z","dependency_job_id":null,"html_url":"https://github.com/sonofjavascript/use-async","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/sonofjavascript/use-async","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonofjavascript%2Fuse-async","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonofjavascript%2Fuse-async/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonofjavascript%2Fuse-async/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonofjavascript%2Fuse-async/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sonofjavascript","download_url":"https://codeload.github.com/sonofjavascript/use-async/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonofjavascript%2Fuse-async/sbom","scorecard":{"id":838124,"data":{"date":"2025-08-11","repo":{"name":"github.com/sonofjavascript/use-async","commit":"7b78ef26d184741201803f17871e31f29f6c06b2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2,"checks":[{"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":0,"reason":"Found 0/23 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":"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":"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":"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":"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":"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":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE: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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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 25 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":"29 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-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-w8qv-6jwh-64r5","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","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-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","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-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-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-23T19:43:43.405Z","repository_id":39452356,"created_at":"2025-08-23T19:43:43.406Z","updated_at":"2025-08-23T19:43:43.406Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275648574,"owners_count":25503200,"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","status":"online","status_checked_at":"2025-09-17T02:00:09.119Z","response_time":84,"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":"sonofjavascript","name":"Albert Pérez Farrés","uuid":"17909945","kind":"user","description":"","email":"","website":"albertperez.io","location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/17909945?u=186e6421dd37d0b86297bb3c4b56cda688436685\u0026v=4","repositories_count":2,"last_synced_at":"2023-03-03T14:35:22.510Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/sonofjavascript","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-14T01:05:28.380Z","updated_at":"2023-03-03T14:35:22.520Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sonofjavascript","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sonofjavascript/repositories"},"tags":[{"name":"v1.1.0","sha":"7b78ef26d184741201803f17871e31f29f6c06b2","kind":"commit","published_at":"2020-11-20T17:44:14.000Z","download_url":"https://codeload.github.com/sonofjavascript/use-async/tar.gz/v1.1.0","html_url":"https://github.com/sonofjavascript/use-async/releases/tag/v1.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sonofjavascript/use-async@v1.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonofjavascript%2Fuse-async/tags/v1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonofjavascript%2Fuse-async/tags/v1.1.0/manifests"},{"name":"v1.0.5","sha":"9b7195ade878c3f9184760973c539dfbde48d333","kind":"tag","published_at":"2020-07-02T14:21:22.000Z","download_url":"https://codeload.github.com/sonofjavascript/use-async/tar.gz/v1.0.5","html_url":"https://github.com/sonofjavascript/use-async/releases/tag/v1.0.5","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sonofjavascript/use-async@v1.0.5","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonofjavascript%2Fuse-async/tags/v1.0.5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonofjavascript%2Fuse-async/tags/v1.0.5/manifests"},{"name":"v1.0.4","sha":"b4e050a3a9d18f0d8b04f6aaf60656d34f5469aa","kind":"commit","published_at":"2020-06-29T08:52:26.000Z","download_url":"https://codeload.github.com/sonofjavascript/use-async/tar.gz/v1.0.4","html_url":"https://github.com/sonofjavascript/use-async/releases/tag/v1.0.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sonofjavascript/use-async@v1.0.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonofjavascript%2Fuse-async/tags/v1.0.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonofjavascript%2Fuse-async/tags/v1.0.4/manifests"},{"name":"v1.0.3","sha":"fa7c727e0d9fb9429de2e8e19c5168f462b894d9","kind":"commit","published_at":"2020-06-26T13:41:44.000Z","download_url":"https://codeload.github.com/sonofjavascript/use-async/tar.gz/v1.0.3","html_url":"https://github.com/sonofjavascript/use-async/releases/tag/v1.0.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sonofjavascript/use-async@v1.0.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonofjavascript%2Fuse-async/tags/v1.0.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonofjavascript%2Fuse-async/tags/v1.0.3/manifests"},{"name":"v1.0.2","sha":"1243f780386fca68b6a351fe931b3e0f98341f70","kind":"commit","published_at":"2020-06-26T11:05:12.000Z","download_url":"https://codeload.github.com/sonofjavascript/use-async/tar.gz/v1.0.2","html_url":"https://github.com/sonofjavascript/use-async/releases/tag/v1.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sonofjavascript/use-async@v1.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonofjavascript%2Fuse-async/tags/v1.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonofjavascript%2Fuse-async/tags/v1.0.2/manifests"},{"name":"v1.0.1","sha":"708c0f9880f0339d469956ea3d6722562ebbb10b","kind":"commit","published_at":"2020-06-19T08:28:51.000Z","download_url":"https://codeload.github.com/sonofjavascript/use-async/tar.gz/v1.0.1","html_url":"https://github.com/sonofjavascript/use-async/releases/tag/v1.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sonofjavascript/use-async@v1.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonofjavascript%2Fuse-async/tags/v1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonofjavascript%2Fuse-async/tags/v1.0.1/manifests"},{"name":"v1.0.0","sha":"b1676c89846a87b34eb43d8e67b810b48eb828a2","kind":"commit","published_at":"2020-06-18T23:12:25.000Z","download_url":"https://codeload.github.com/sonofjavascript/use-async/tar.gz/v1.0.0","html_url":"https://github.com/sonofjavascript/use-async/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sonofjavascript/use-async@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonofjavascript%2Fuse-async/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonofjavascript%2Fuse-async/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2025-10-20T10:20:56.379Z","dependent_packages_count":1,"downloads":65,"downloads_period":"last-month","dependent_repos_count":0,"rankings":{"downloads":28.61299292663004,"dependent_repos_count":25.32799796580169,"dependent_packages_count":16.223928578504864,"stargazers_count":12.892852012739676,"forks_count":17.419597981652586,"average":20.09547389306577},"purl":"pkg:npm/%40sonofjs/use-async","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@sonofjs/use-async","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@sonofjs/use-async","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@sonofjs/use-async/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-14T12:25:42.904Z","issues_count":3,"pull_requests_count":32,"avg_time_to_close_issue":12516323.5,"avg_time_to_close_pull_request":557325.6315789474,"issues_closed_count":2,"pull_requests_closed_count":19,"pull_request_authors_count":2,"issue_authors_count":2,"avg_comments_per_issue":0.6666666666666666,"avg_comments_per_pull_request":0.03125,"merged_pull_requests_count":18,"bot_issues_count":0,"bot_pull_requests_count":14,"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/sonofjavascript%2Fuse-async/issues","maintainers":[{"login":"sonofjavascript","count":18,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/sonofjavascript"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@sonofjs%2Fuse-async/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@sonofjs%2Fuse-async/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@sonofjs%2Fuse-async/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@sonofjs%2Fuse-async/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@sonofjs%2Fuse-async/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@sonofjs%2Fuse-async/codemeta","maintainers":[{"uuid":"albertitoper14","login":"albertitoper14","name":null,"email":"albert.pfarres@gmail.com","url":null,"packages_count":11,"html_url":"https://www.npmjs.com/~albertitoper14","role":null,"created_at":"2022-11-10T23:23:04.654Z","updated_at":"2022-11-10T23:23:04.654Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/albertitoper14/packages"}]}