{"id":1142743,"name":"@react-hook/cache","ecosystem":"npm","description":"A React hook for accessing an async cache that persists data between renders and components. This allows you to do neat stuff like preload data before your next page or component has even started mounting.","homepage":"https://github.com/jaredLunde/react-hook/tree/master/packages/cache#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/jaredLunde/react-hook","keywords_array":["react","react hook","cache","react-cache","react data fetching","data fetching","cache hook","use-cache","usecache","usecache hook","react cache hook"],"namespace":"react-hook","versions_count":12,"first_release_published_at":"2020-04-11T06:00:02.913Z","latest_release_published_at":"2022-04-13T02:04:26.766Z","latest_release_number":"1.1.1","last_synced_at":"2026-03-27T11:22:49.375Z","created_at":"2022-04-08T11:58:32.323Z","updated_at":"2026-03-27T11:22:49.376Z","registry_url":"https://www.npmjs.com/package/@react-hook/cache","install_command":"npm install @react-hook/cache","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.1.1"}},"repo_metadata":{"id":37549929,"uuid":"177371860","full_name":"jaredLunde/react-hook","owner":"jaredLunde","description":"↩ Strongly typed, concurrent mode-safe React hooks","archived":false,"fork":false,"pushed_at":"2025-01-09T15:18:47.000Z","size":3016,"stargazers_count":1529,"open_issues_count":37,"forks_count":97,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-10-14T17:38:47.311Z","etag":null,"topics":["debounce","hooks","hooks-api","hooks-library","react","react-hook","react-hooks","react-hooks-typescript","throttle","typescript","typescript-hooks","window-scroll","window-size"],"latest_commit_sha":null,"homepage":"https://npmjs.com/org/react-hook","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/jaredLunde.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-24T04:48:25.000Z","updated_at":"2025-10-11T07:25:09.000Z","dependencies_parsed_at":"2025-04-01T20:31:52.586Z","dependency_job_id":null,"html_url":"https://github.com/jaredLunde/react-hook","commit_stats":{"total_commits":405,"total_committers":29,"mean_commits":13.96551724137931,"dds":0.3111111111111111,"last_synced_commit":"472fc4797dbd5a85fd87cb69a9c1ed8816367bf1"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jaredLunde/react-hook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredLunde%2Freact-hook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredLunde%2Freact-hook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredLunde%2Freact-hook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredLunde%2Freact-hook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaredLunde","download_url":"https://codeload.github.com/jaredLunde/react-hook/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredLunde%2Freact-hook/sbom","scorecard":{"id":506113,"data":{"date":"2025-08-11","repo":{"name":"github.com/jaredLunde/react-hook","commit":"7378d66a7eaa6b5078b75fc3cef8de6d4268fdb8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.4,"checks":[{"name":"Code-Review","score":5,"reason":"Found 14/28 approved changesets -- score normalized to 5","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":"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":"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":"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":"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":"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 17 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":"39 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-w8qv-6jwh-64r5","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-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-rxrc-rgv4-jpvx","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-44c6-4v22-4mhx","Warn: Project is vulnerable to: GHSA-4x5v-gmq8-25ch","Warn: Project is vulnerable to: GHSA-g4rg-993r-mgx7","Warn: Project is vulnerable to: GHSA-4wf5-vphf-c2xc","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-19T23:16:30.723Z","repository_id":37549929,"created_at":"2025-08-19T23:16:30.723Z","updated_at":"2025-08-19T23:16:30.723Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279035181,"owners_count":26089630,"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-10-15T02:00:07.814Z","response_time":56,"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":"jaredLunde","name":"Jared Lunde","uuid":"86995","kind":"user","description":"In search of the minimum effective abstraction","email":"","website":"https://jaredLunde.com","location":"California","twitter":"jaredLunde","company":"@RailwayApp","icon_url":"https://avatars.githubusercontent.com/u/86995?u=c95def2f1d3856e75843aaa1cb6d88f14845eabb\u0026v=4","repositories_count":140,"last_synced_at":"2025-09-29T22:41:08.622Z","metadata":{"has_sponsors_listing":true},"html_url":"https://github.com/jaredLunde","funding_links":["https://github.com/sponsors/jaredLunde"],"total_stars":2319,"followers":166,"following":45,"created_at":"2022-11-02T16:26:55.620Z","updated_at":"2025-09-29T22:41:08.622Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaredLunde","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaredLunde/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-02-26T12:47:41.234Z","dependent_packages_count":4,"downloads":2171,"downloads_period":"last-month","dependent_repos_count":5,"rankings":{"downloads":3.609331052890226,"dependent_repos_count":5.0226180148969926,"dependent_packages_count":4.507975636262088,"stargazers_count":2.201693873752246,"forks_count":3.1568098484258003,"docker_downloads_count":null,"average":3.6996856852454707},"purl":"pkg:npm/%40react-hook/cache","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@react-hook/cache","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@react-hook/cache","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@react-hook/cache/dependencies","status":null,"funding_links":["https://github.com/sponsors/jaredLunde"],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-31T09:24:18.621Z","issues_count":17,"pull_requests_count":104,"avg_time_to_close_issue":17981253.222222224,"avg_time_to_close_pull_request":12931752.280898876,"issues_closed_count":9,"pull_requests_closed_count":89,"pull_request_authors_count":9,"issue_authors_count":17,"avg_comments_per_issue":2.5294117647058822,"avg_comments_per_pull_request":0.8365384615384616,"merged_pull_requests_count":7,"bot_issues_count":0,"bot_pull_requests_count":94,"past_year_issues_count":3,"past_year_pull_requests_count":3,"past_year_avg_time_to_close_issue":91023.0,"past_year_avg_time_to_close_pull_request":36298.0,"past_year_issues_closed_count":2,"past_year_pull_requests_closed_count":3,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":3,"past_year_avg_comments_per_issue":2.0,"past_year_avg_comments_per_pull_request":0.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":3,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaredLunde%2Freact-hook/issues","maintainers":[{"login":"jaredLunde","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/jaredLunde"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@react-hook%2Fcache/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@react-hook%2Fcache/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@react-hook%2Fcache/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@react-hook%2Fcache/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@react-hook%2Fcache/codemeta","maintainers":[{"uuid":"jaredlunde","login":"jaredlunde","name":null,"email":"jared.lunde@gmail.com","url":null,"packages_count":319,"html_url":"https://www.npmjs.com/~jaredlunde","role":null,"created_at":"2022-11-20T23:55:30.602Z","updated_at":"2022-11-20T23:55:30.602Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/jaredlunde/packages"}]}