{"id":1146973,"name":"@rehooks/component-size","ecosystem":"npm","description":"React hook for component-size","homepage":null,"licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/rehooks/component-size","keywords_array":["react","hooks","component-size"],"namespace":"rehooks","versions_count":4,"first_release_published_at":"2018-10-25T20:22:05.821Z","latest_release_published_at":"2019-07-18T22:23:16.192Z","latest_release_number":"1.0.3","last_synced_at":"2026-06-09T00:32:10.116Z","created_at":"2022-04-08T12:06:02.518Z","updated_at":"2026-06-09T00:32:10.116Z","registry_url":"https://www.npmjs.com/package/@rehooks/component-size","install_command":"npm install @rehooks/component-size","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.0.3"}},"repo_metadata":{"id":57138839,"uuid":"154727381","full_name":"rehooks/component-size","owner":"rehooks","description":"React hook for determining the size of a component","archived":false,"fork":false,"pushed_at":"2023-02-05T10:55:06.000Z","size":140,"stargazers_count":240,"open_issues_count":18,"forks_count":23,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-13T19:00:51.677Z","etag":null,"topics":["component","element","hook","react","size"],"latest_commit_sha":null,"homepage":"","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/rehooks.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":"2018-10-25T19:39:39.000Z","updated_at":"2025-09-09T18:54:06.000Z","dependencies_parsed_at":"2023-02-18T23:01:14.456Z","dependency_job_id":null,"html_url":"https://github.com/rehooks/component-size","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rehooks/component-size","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rehooks%2Fcomponent-size","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rehooks%2Fcomponent-size/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rehooks%2Fcomponent-size/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rehooks%2Fcomponent-size/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rehooks","download_url":"https://codeload.github.com/rehooks/component-size/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rehooks%2Fcomponent-size/sbom","scorecard":{"id":769233,"data":{"date":"2025-08-18","repo":{"name":"github.com/rehooks/component-size","commit":"36e5057d5746c27669d88093570532b267394f13"},"scorecard":{"version":"v5.2.1-41-g40576783","commit":"40576783fda6698350fcbbeaea760ff827433034"},"score":3.6,"checks":[{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#token-permissions"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":4,"reason":"Found 7/15 approved changesets -- score normalized to 4","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/40576783fda6698350fcbbeaea760ff827433034/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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#maintained"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#binary-artifacts"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#packaging"}},{"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/40576783fda6698350fcbbeaea760ff827433034/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/40576783fda6698350fcbbeaea760ff827433034/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/40576783fda6698350fcbbeaea760ff827433034/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/40576783fda6698350fcbbeaea760ff827433034/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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#license"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#vulnerabilities"}},{"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/40576783fda6698350fcbbeaea760ff827433034/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/40576783fda6698350fcbbeaea760ff827433034/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 13 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T01:46:32.475Z","repository_id":57138839,"created_at":"2025-08-23T01:46:32.475Z","updated_at":"2025-08-23T01:46:32.475Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279016897,"owners_count":26085885,"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-13T02:00:06.723Z","response_time":61,"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":"rehooks","name":"Rehooks","uuid":"44476557","kind":"organization","description":"React Hooks for Everything","email":null,"website":"https://rehooks.org","location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/44476557?v=4","repositories_count":11,"last_synced_at":"2023-03-02T06:20:39.283Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/rehooks","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-12T23:56:34.863Z","updated_at":"2023-03-02T06:20:39.285Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rehooks","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rehooks/repositories"},"tags":[]},"repo_metadata_updated_at":"2025-10-13T19:22:11.065Z","dependent_packages_count":63,"downloads":249251,"downloads_period":"last-month","dependent_repos_count":261,"rankings":{"downloads":0.5391121099858202,"dependent_repos_count":0.981179556447319,"dependent_packages_count":0.503884094886493,"stargazers_count":3.812988072955818,"forks_count":4.9971801234018365,"docker_downloads_count":1.689607524937848,"average":2.0873252471025223},"purl":"pkg:npm/%40rehooks/component-size","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@rehooks/component-size","docker_dependents_count":7,"docker_downloads_count":208,"usage_url":"https://repos.ecosyste.ms/usage/npm/@rehooks/component-size","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@rehooks/component-size/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-30T18:31:19.027Z","issues_count":19,"pull_requests_count":17,"avg_time_to_close_issue":5964184.25,"avg_time_to_close_pull_request":1207317.5,"issues_closed_count":8,"pull_requests_closed_count":10,"pull_request_authors_count":13,"issue_authors_count":19,"avg_comments_per_issue":1.1578947368421053,"avg_comments_per_pull_request":1.1176470588235294,"merged_pull_requests_count":8,"bot_issues_count":0,"bot_pull_requests_count":0,"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/rehooks%2Fcomponent-size/issues","maintainers":[{"login":"fouad","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/fouad"},{"login":"hanford","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/hanford"},{"login":"jamiebuilds","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/jamiebuilds"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@rehooks%2Fcomponent-size/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@rehooks%2Fcomponent-size/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@rehooks%2Fcomponent-size/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@rehooks%2Fcomponent-size/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@rehooks%2Fcomponent-size/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@rehooks%2Fcomponent-size/codemeta","maintainers":[{"uuid":"fouad","login":"fouad","name":null,"email":"fm@fouad.co","url":null,"packages_count":145,"html_url":"https://www.npmjs.com/~fouad","role":null,"created_at":"2022-11-21T02:04:20.160Z","updated_at":"2022-11-21T02:04:20.160Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/fouad/packages"},{"uuid":"thejameskyle","login":"thejameskyle","name":null,"email":"me@thejameskyle.com","url":null,"packages_count":529,"html_url":"https://www.npmjs.com/~thejameskyle","role":null,"created_at":"2022-11-21T02:04:20.176Z","updated_at":"2022-11-21T02:04:20.176Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/thejameskyle/packages"},{"uuid":"jmoxey","login":"jmoxey","name":null,"email":"jakemoxey@gmail.com","url":null,"packages_count":224,"html_url":"https://www.npmjs.com/~jmoxey","role":null,"created_at":"2022-11-21T02:04:20.170Z","updated_at":"2022-11-21T02:04:20.170Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/jmoxey/packages"},{"uuid":"hanford","login":"hanford","name":null,"email":"jackhanford@gmail.com","url":null,"packages_count":135,"html_url":"https://www.npmjs.com/~hanford","role":null,"created_at":"2022-11-21T02:04:20.163Z","updated_at":"2022-11-21T02:04:20.163Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/hanford/packages"},{"uuid":"mathdroid","login":"mathdroid","name":null,"email":"muhammad.mustadi@gmail.com","url":null,"packages_count":46,"html_url":"https://www.npmjs.com/~mathdroid","role":null,"created_at":"2022-11-21T02:04:20.173Z","updated_at":"2022-11-21T02:04:20.173Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/mathdroid/packages"},{"uuid":"iamsolankiamit","login":"iamsolankiamit","name":null,"email":"amit.fash@gmail.com","url":null,"packages_count":15,"html_url":"https://www.npmjs.com/~iamsolankiamit","role":null,"created_at":"2022-11-21T02:04:20.166Z","updated_at":"2022-11-21T02:04:20.166Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/iamsolankiamit/packages"}]}