{"id":859347,"name":"@chance/hooks","ecosystem":"npm","description":"Handy React hooks I use a lot ↪️","homepage":"https://github.com/chaance/hooks#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/chaance/hooks","keywords_array":[],"namespace":"chance","versions_count":10,"first_release_published_at":"2020-12-10T01:57:07.406Z","latest_release_published_at":"2025-08-18T12:52:16.311Z","latest_release_number":"0.6.2","last_synced_at":"2026-08-01T00:01:52.497Z","created_at":"2022-04-07T14:47:04.528Z","updated_at":"2026-08-01T00:08:27.649Z","registry_url":"https://www.npmjs.com/package/@chance/hooks","install_command":"npm install @chance/hooks","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"0.6.2"},"contentPolicy":null},"repo_metadata":{"id":44975452,"uuid":"210405094","full_name":"chaance/hooks","owner":"chaance","description":"Handy React hooks I use a lot ↪️","archived":false,"fork":false,"pushed_at":"2025-08-18T12:52:25.000Z","size":713,"stargazers_count":15,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-20T05:39:35.459Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/chaance.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-09-23T16:41:53.000Z","updated_at":"2025-08-18T12:52:29.000Z","dependencies_parsed_at":"2024-10-27T12:09:46.610Z","dependency_job_id":"341ae684-ce4b-4638-9c09-9b62dd29191e","html_url":"https://github.com/chaance/hooks","commit_stats":{"total_commits":36,"total_committers":3,"mean_commits":12.0,"dds":"0.33333333333333337","last_synced_commit":"2a41083d1e54ab216b938346063dd0303ad350e4"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/chaance/hooks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaance%2Fhooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaance%2Fhooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaance%2Fhooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaance%2Fhooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chaance","download_url":"https://codeload.github.com/chaance/hooks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaance%2Fhooks/sbom","scorecard":{"id":272710,"data":{"date":"2025-08-11","repo":{"name":"github.com/chaance/hooks","commit":"a06693f66cc89fa661e4a7f7cb8f89f71b3a9d10"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"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":"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":"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 0/30 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":"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":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":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"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":"Vulnerabilities","score":0,"reason":"18 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-7q7g-4xm8-89cq","Warn: Project is vulnerable to: GHSA-xffm-g5w8-qvg7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-96g7-g7g9-jxw8","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-3mv9-4h5g-vhg3","Warn: Project is vulnerable to: GHSA-vg6x-rcgg-rjx6","Warn: Project is vulnerable to: GHSA-x574-m823-4x7w","Warn: Project is vulnerable to: GHSA-4r4m-qw57-chr8","Warn: Project is vulnerable to: GHSA-xcj6-pq6g-qj4x","Warn: Project is vulnerable to: GHSA-356w-63v5-8wf4","Warn: Project is vulnerable to: GHSA-859w-5945-r5v3","Warn: Project is vulnerable to: GHSA-9crc-q9x8-hgqq"],"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-17T13:46:33.501Z","repository_id":44975452,"created_at":"2025-08-17T13:46:33.501Z","updated_at":"2025-08-17T13:46:33.501Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36137765,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-31T02:00:06.731Z","response_time":112,"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":"chaance","name":"Chance Strickland","uuid":"3082153","kind":"user","description":"Software Engineer @workos","email":"hi@chance.dev","website":"https://chance.dev","location":"San Diego, CA","twitter":null,"company":"@workos","icon_url":"https://avatars.githubusercontent.com/u/3082153?u=74278ce843161be33a47df68b683f7df15b47011\u0026v=4","repositories_count":143,"last_synced_at":"2026-02-03T22:32:06.796Z","metadata":{"has_sponsors_listing":true},"html_url":"https://github.com/chaance","funding_links":["https://github.com/sponsors/chaance"],"total_stars":480,"followers":1002,"following":56,"created_at":"2022-11-15T23:05:41.842Z","updated_at":"2026-02-03T22:32:06.797Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chaance","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chaance/repositories"},"tags":[{"name":"v0.6.2","sha":"8f9c2abcd332603c2d641bdaf540cc36a483051b","kind":"tag","published_at":"2025-08-18T12:51:49.000Z","download_url":"https://codeload.github.com/chaance/hooks/tar.gz/v0.6.2","html_url":"https://github.com/chaance/hooks/releases/tag/v0.6.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/chaance/hooks@v0.6.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaance%2Fhooks/tags/v0.6.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaance%2Fhooks/tags/v0.6.2/manifests"},{"name":"v0.6.1","sha":"61941c1c3910d8482ae1f0e9c0e1208b17578408","kind":"tag","published_at":"2025-08-18T12:29:26.000Z","download_url":"https://codeload.github.com/chaance/hooks/tar.gz/v0.6.1","html_url":"https://github.com/chaance/hooks/releases/tag/v0.6.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/chaance/hooks@v0.6.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaance%2Fhooks/tags/v0.6.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaance%2Fhooks/tags/v0.6.1/manifests"},{"name":"v0.6.0","sha":"a06693f66cc89fa661e4a7f7cb8f89f71b3a9d10","kind":"tag","published_at":"2024-10-02T15:28:29.000Z","download_url":"https://codeload.github.com/chaance/hooks/tar.gz/v0.6.0","html_url":"https://github.com/chaance/hooks/releases/tag/v0.6.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/chaance/hooks@v0.6.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaance%2Fhooks/tags/v0.6.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaance%2Fhooks/tags/v0.6.0/manifests"},{"name":"v0.5.2","sha":"f693d615ff194c2565a7ed83f6fedb694b31bbdc","kind":"tag","published_at":"2023-10-28T14:47:11.000Z","download_url":"https://codeload.github.com/chaance/hooks/tar.gz/v0.5.2","html_url":"https://github.com/chaance/hooks/releases/tag/v0.5.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/chaance/hooks@v0.5.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaance%2Fhooks/tags/v0.5.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaance%2Fhooks/tags/v0.5.2/manifests"},{"name":"v0.5.1","sha":"b329079c931a002ba4d3dc4333e7153647e11f7a","kind":"tag","published_at":"2023-10-28T00:19:42.000Z","download_url":"https://codeload.github.com/chaance/hooks/tar.gz/v0.5.1","html_url":"https://github.com/chaance/hooks/releases/tag/v0.5.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/chaance/hooks@v0.5.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaance%2Fhooks/tags/v0.5.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaance%2Fhooks/tags/v0.5.1/manifests"},{"name":"v0.5.0","sha":"6216752f1aa071a9db77c246e135766a1a76e267","kind":"tag","published_at":"2023-10-28T00:07:58.000Z","download_url":"https://codeload.github.com/chaance/hooks/tar.gz/v0.5.0","html_url":"https://github.com/chaance/hooks/releases/tag/v0.5.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/chaance/hooks@v0.5.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaance%2Fhooks/tags/v0.5.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaance%2Fhooks/tags/v0.5.0/manifests"},{"name":"v0.4.0","sha":"66d1664c6d648b479290bbc8eb4f389b5bcfc242","kind":"tag","published_at":"2023-08-29T15:25:11.000Z","download_url":"https://codeload.github.com/chaance/hooks/tar.gz/v0.4.0","html_url":"https://github.com/chaance/hooks/releases/tag/v0.4.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/chaance/hooks@v0.4.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaance%2Fhooks/tags/v0.4.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaance%2Fhooks/tags/v0.4.0/manifests"},{"name":"v0.3.0","sha":"f144df4d8f05016355411f3558083d5cb2c3a8b5","kind":"tag","published_at":"2023-01-15T05:29:39.000Z","download_url":"https://codeload.github.com/chaance/hooks/tar.gz/v0.3.0","html_url":"https://github.com/chaance/hooks/releases/tag/v0.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/chaance/hooks@v0.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaance%2Fhooks/tags/v0.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaance%2Fhooks/tags/v0.3.0/manifests"},{"name":"v0.2.1","sha":"e2a75326be2062bed9834c902d54cc9b213b2106","kind":"tag","published_at":"2021-02-14T07:35:45.000Z","download_url":"https://codeload.github.com/chaance/hooks/tar.gz/v0.2.1","html_url":"https://github.com/chaance/hooks/releases/tag/v0.2.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/chaance/hooks@v0.2.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaance%2Fhooks/tags/v0.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaance%2Fhooks/tags/v0.2.1/manifests"}]},"repo_metadata_updated_at":"2026-08-01T00:08:27.648Z","dependent_packages_count":1,"downloads":73,"downloads_period":"last-month","dependent_repos_count":1,"rankings":{"downloads":14.47375528337812,"dependent_repos_count":10.352844454248336,"dependent_packages_count":20.999289843067697,"stargazers_count":8.990806225668235,"forks_count":15.43149453300609,"docker_downloads_count":null,"average":14.049638067873696},"purl":"pkg:npm/%40chance/hooks","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@chance/hooks","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@chance/hooks","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@chance/hooks/dependencies","status":null,"funding_links":["https://github.com/sponsors/chaance"],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-18T12:58:23.605Z","issues_count":0,"pull_requests_count":18,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":9755646.666666666,"issues_closed_count":0,"pull_requests_closed_count":18,"pull_request_authors_count":1,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":1.0,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":18,"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/chaance%2Fhooks/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@chance%2Fhooks/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@chance%2Fhooks/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@chance%2Fhooks/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@chance%2Fhooks/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@chance%2Fhooks/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@chance%2Fhooks/codemeta","maintainers":[{"uuid":"chancestrickland","login":"chancestrickland","name":null,"email":"hi@chance.dev","url":null,"packages_count":140,"html_url":"https://www.npmjs.com/~chancestrickland","role":null,"created_at":"2022-11-16T00:18:18.456Z","updated_at":"2022-11-16T00:18:18.456Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/chancestrickland/packages"}]}