{"id":1311737,"name":"@testing-library/preact-hooks","ecosystem":"npm","description":"Simple and complete React hooks testing utilities that encourage good testing practices.","homepage":"https://github.com/testing-library/preact-hooks-testing-library#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/testing-library/preact-hooks-testing-library","keywords_array":["testing","preact","hooks","unit","integration"],"namespace":"testing-library","versions_count":2,"first_release_published_at":"2020-06-10T12:45:29.382Z","latest_release_published_at":"2020-09-28T11:01:58.836Z","latest_release_number":"1.1.0","last_synced_at":"2026-06-05T19:02:54.269Z","created_at":"2022-04-08T20:33:37.226Z","updated_at":"2026-06-05T19:02:54.269Z","registry_url":"https://www.npmjs.com/package/@testing-library/preact-hooks","install_command":"npm install @testing-library/preact-hooks","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.1.0"}},"repo_metadata":{"id":44532783,"uuid":"271271784","full_name":"testing-library/preact-hooks-testing-library","owner":"testing-library","description":"Simple and complete Preact hooks testing utilities that encourage good testing practices.","archived":false,"fork":false,"pushed_at":"2022-02-09T16:25:21.000Z","size":135,"stargazers_count":58,"open_issues_count":9,"forks_count":9,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-28T11:29:56.633Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/testing-library.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-10T12:32:41.000Z","updated_at":"2025-07-12T19:13:29.000Z","dependencies_parsed_at":"2022-09-12T14:12:36.997Z","dependency_job_id":null,"html_url":"https://github.com/testing-library/preact-hooks-testing-library","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/testing-library/preact-hooks-testing-library","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testing-library%2Fpreact-hooks-testing-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testing-library%2Fpreact-hooks-testing-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testing-library%2Fpreact-hooks-testing-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testing-library%2Fpreact-hooks-testing-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/testing-library","download_url":"https://codeload.github.com/testing-library/preact-hooks-testing-library/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testing-library%2Fpreact-hooks-testing-library/sbom","scorecard":{"id":875154,"data":{"date":"2025-08-11","repo":{"name":"github.com/testing-library/preact-hooks-testing-library","commit":"f96eaa4cd9e4663792897d26c40cd274d7c3b6db"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"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":"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":1,"reason":"Found 2/20 approved changesets -- score normalized to 1","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":"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":"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 14 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"}}]},"last_synced_at":"2025-08-24T05:41:47.780Z","repository_id":44532783,"created_at":"2025-08-24T05:41:47.780Z","updated_at":"2025-08-24T05:41:47.780Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276673552,"owners_count":25683938,"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-23T02:00:09.130Z","response_time":73,"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":"testing-library","name":"Testing Library","uuid":"49996085","kind":"organization","description":"The home for all testing-library projects","email":null,"website":"https://testing-library.com","location":"Your tests","twitter":"TestingLib","company":null,"icon_url":"https://avatars.githubusercontent.com/u/49996085?v=4","repositories_count":31,"last_synced_at":"2024-10-30T02:43:14.827Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/testing-library","funding_links":[],"total_stars":43138,"followers":926,"following":0,"created_at":"2022-11-02T16:25:13.656Z","updated_at":"2024-10-30T02:43:14.828Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/testing-library","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/testing-library/repositories"},"tags":[]},"repo_metadata_updated_at":"2025-10-23T04:21:10.879Z","dependent_packages_count":59,"downloads":60545,"downloads_period":"last-month","dependent_repos_count":211,"rankings":{"downloads":0.9722055100923147,"dependent_repos_count":1.0665111015835307,"dependent_packages_count":0.5299842728129961,"stargazers_count":5.834696440028273,"forks_count":6.55256444609522,"docker_downloads_count":null,"average":2.9911923541224668},"purl":"pkg:npm/%40testing-library/preact-hooks","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@testing-library/preact-hooks","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@testing-library/preact-hooks","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@testing-library/preact-hooks/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-28T06:39:36.701Z","issues_count":9,"pull_requests_count":11,"avg_time_to_close_issue":1794985.5,"avg_time_to_close_pull_request":22432603.285714287,"issues_closed_count":4,"pull_requests_closed_count":7,"pull_request_authors_count":5,"issue_authors_count":6,"avg_comments_per_issue":1.222222222222222,"avg_comments_per_pull_request":0.2727272727272727,"merged_pull_requests_count":4,"bot_issues_count":0,"bot_pull_requests_count":2,"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/testing-library%2Fpreact-hooks-testing-library/issues","maintainers":[{"login":"nickmccurdy","count":4,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/nickmccurdy"},{"login":"MichaelDeBoey","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/MichaelDeBoey"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@testing-library%2Fpreact-hooks/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@testing-library%2Fpreact-hooks/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@testing-library%2Fpreact-hooks/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@testing-library%2Fpreact-hooks/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@testing-library%2Fpreact-hooks/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@testing-library%2Fpreact-hooks/codemeta","maintainers":[{"uuid":"mpeyper","login":"mpeyper","name":null,"email":"mpeyper7@gmail.com","url":null,"packages_count":39,"html_url":"https://www.npmjs.com/~mpeyper","role":null,"created_at":"2022-11-21T00:07:19.111Z","updated_at":"2022-11-21T00:07:19.111Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/mpeyper/packages"},{"uuid":"patrickhulce","login":"patrickhulce","name":null,"email":"patrick.hulce@gmail.com","url":null,"packages_count":61,"html_url":"https://www.npmjs.com/~patrickhulce","role":null,"created_at":"2022-11-21T00:07:19.041Z","updated_at":"2022-11-21T00:07:19.041Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/patrickhulce/packages"},{"uuid":"mihar-22","login":"mihar-22","name":null,"email":"rahim.alwer@gmail.com","url":null,"packages_count":89,"html_url":"https://www.npmjs.com/~mihar-22","role":null,"created_at":"2022-11-21T00:07:19.120Z","updated_at":"2022-11-21T00:07:19.120Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/mihar-22/packages"},{"uuid":"phryneas","login":"phryneas","name":null,"email":"mail@lenzw.de","url":null,"packages_count":170,"html_url":"https://www.npmjs.com/~phryneas","role":null,"created_at":"2024-10-12T14:44:56.488Z","updated_at":"2024-10-12T14:44:56.488Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/phryneas/packages"},{"uuid":"thymikee","login":"thymikee","name":null,"email":"thymikee@gmail.com","url":null,"packages_count":229,"html_url":"https://www.npmjs.com/~thymikee","role":null,"created_at":"2022-11-21T00:07:19.150Z","updated_at":"2022-11-21T00:07:19.150Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/thymikee/packages"},{"uuid":"kentcdodds","login":"kentcdodds","name":null,"email":"me@kentcdodds.com","url":null,"packages_count":187,"html_url":"https://www.npmjs.com/~kentcdodds","role":null,"created_at":"2022-11-21T00:07:19.005Z","updated_at":"2022-11-21T00:07:19.005Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/kentcdodds/packages"},{"uuid":"jdecroock","login":"jdecroock","name":null,"email":"decroockjovi@gmail.com","url":null,"packages_count":150,"html_url":"https://www.npmjs.com/~jdecroock","role":null,"created_at":"2022-11-21T00:07:18.990Z","updated_at":"2022-11-21T00:07:18.990Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/jdecroock/packages"},{"uuid":"pago","login":"pago","name":null,"email":"patrick.gotthardt@trivago.com","url":null,"packages_count":53,"html_url":"https://www.npmjs.com/~pago","role":null,"created_at":"2022-11-21T00:07:19.129Z","updated_at":"2022-11-21T00:07:19.129Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/pago/packages"},{"uuid":"eps1lon","login":"eps1lon","name":null,"email":"silbermann.sebastian@gmail.com","url":null,"packages_count":73,"html_url":"https://www.npmjs.com/~eps1lon","role":null,"created_at":"2022-11-21T00:07:18.976Z","updated_at":"2022-11-21T00:07:18.976Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/eps1lon/packages"},{"uuid":"mdjastrzebski","login":"mdjastrzebski","name":null,"email":"mdjastrzebski@gmail.com","url":null,"packages_count":120,"html_url":"https://www.npmjs.com/~mdjastrzebski","role":null,"created_at":"2022-11-21T00:07:18.983Z","updated_at":"2022-11-21T00:07:18.983Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/mdjastrzebski/packages"},{"uuid":"testing-library-bot","login":"testing-library-bot","name":null,"email":"testinglibraryoss@gmail.com","url":null,"packages_count":20,"html_url":"https://www.npmjs.com/~testing-library-bot","role":null,"created_at":"2022-11-21T00:07:18.997Z","updated_at":"2022-11-21T00:07:18.997Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/testing-library-bot/packages"},{"uuid":"timdeschryver","login":"timdeschryver","name":null,"email":"timdeschryver@outlook.com","url":null,"packages_count":45,"html_url":"https://www.npmjs.com/~timdeschryver","role":null,"created_at":"2022-11-21T00:07:19.023Z","updated_at":"2022-11-21T00:07:19.023Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/timdeschryver/packages"},{"uuid":"dfcook","login":"dfcook","name":null,"email":"dfcook@hotmail.com","url":null,"packages_count":24,"html_url":"https://www.npmjs.com/~dfcook","role":null,"created_at":"2022-11-21T00:07:19.061Z","updated_at":"2022-11-21T00:07:19.061Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/dfcook/packages"},{"uuid":"gpx","login":"gpx","name":null,"email":"polvara@gmail.com","url":null,"packages_count":28,"html_url":"https://www.npmjs.com/~gpx","role":null,"created_at":"2022-11-21T00:07:19.075Z","updated_at":"2022-11-21T00:07:19.075Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/gpx/packages"},{"uuid":"cmckinstry","login":"cmckinstry","name":null,"email":"carson.mckinstry@gmail.com","url":null,"packages_count":22,"html_url":"https://www.npmjs.com/~cmckinstry","role":null,"created_at":"2022-11-21T00:07:19.140Z","updated_at":"2022-11-21T00:07:19.140Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/cmckinstry/packages"},{"uuid":"brrianalexis","login":"brrianalexis","name":null,"email":"brrianalexis.dev@gmail.com","url":null,"packages_count":19,"html_url":"https://www.npmjs.com/~brrianalexis","role":null,"created_at":"2022-11-21T00:07:19.161Z","updated_at":"2022-11-21T00:07:19.161Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/brrianalexis/packages"},{"uuid":"matanbobi","login":"matanbobi","name":null,"email":"matanbobi@gmail.com","url":null,"packages_count":26,"html_url":"https://www.npmjs.com/~matanbobi","role":null,"created_at":"2025-12-24T18:20:39.494Z","updated_at":"2025-12-24T18:20:39.494Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/matanbobi/packages"}]}