{"id":2236139,"name":"react-detect-click-outside","ecosystem":"npm","description":"Detects clicks outside React components, and also handles keypresses.","homepage":null,"licenses":"ISC","normalized_licenses":["ISC"],"repository_url":"https://github.com/zhaluza/react-detect-click-outside","keywords_array":["react","click","detect","outside","component"],"namespace":null,"versions_count":21,"first_release_published_at":"2020-11-09T02:37:14.361Z","latest_release_published_at":"2022-06-07T10:54:22.368Z","latest_release_number":"1.1.7","last_synced_at":"2026-08-05T09:46:02.112Z","created_at":"2022-04-09T22:55:17.726Z","updated_at":"2026-08-05T09:59:54.289Z","registry_url":"https://www.npmjs.com/package/react-detect-click-outside","install_command":"npm install react-detect-click-outside","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.1.7"},"contentPolicy":null},"repo_metadata":{"id":38311314,"uuid":"310924266","full_name":"zhaluza/react-detect-click-outside","owner":"zhaluza","description":"Detects clicks outside React components to close them. Also handles keypresses.","archived":false,"fork":false,"pushed_at":"2022-06-07T10:54:48.000Z","size":167,"stargazers_count":68,"open_issues_count":6,"forks_count":12,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-20T04:45:12.080Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zhaluza.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-07T20:14:53.000Z","updated_at":"2025-06-08T18:25:38.000Z","dependencies_parsed_at":"2022-08-17T15:56:01.270Z","dependency_job_id":null,"html_url":"https://github.com/zhaluza/react-detect-click-outside","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/zhaluza/react-detect-click-outside","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaluza%2Freact-detect-click-outside","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaluza%2Freact-detect-click-outside/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaluza%2Freact-detect-click-outside/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaluza%2Freact-detect-click-outside/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhaluza","download_url":"https://codeload.github.com/zhaluza/react-detect-click-outside/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaluza%2Freact-detect-click-outside/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272927324,"owners_count":25016637,"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-08-30T02:00:09.474Z","response_time":77,"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":"zhaluza","name":"Zac Haluza","uuid":"45137225","kind":"user","description":"","email":"","website":"https://haluza.dev","location":"NYC","twitter":"zac_haluza","company":"Meta","icon_url":"https://avatars.githubusercontent.com/u/45137225?u=ebe20949e381778b41e98c7accf04ed68819fd99\u0026v=4","repositories_count":16,"last_synced_at":"2023-03-06T17:58:21.124Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/zhaluza","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-16T19:34:41.096Z","updated_at":"2023-03-06T17:58:21.306Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhaluza","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhaluza/repositories"},"tags":[{"name":"v1.0.8","sha":"a1d21f89d0c3869899a8b4fc6d1bb97de9b649f4","kind":"commit","published_at":"2021-04-13T12:46:04.000Z","download_url":"https://codeload.github.com/zhaluza/react-detect-click-outside/tar.gz/v1.0.8","html_url":"https://github.com/zhaluza/react-detect-click-outside/releases/tag/v1.0.8","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/zhaluza/react-detect-click-outside@v1.0.8","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaluza%2Freact-detect-click-outside/tags/v1.0.8","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaluza%2Freact-detect-click-outside/tags/v1.0.8/manifests"}]},"repo_metadata_updated_at":"2026-08-05T09:59:54.287Z","dependent_packages_count":24,"downloads":85907,"downloads_period":"last-month","dependent_repos_count":228,"rankings":{"downloads":0.7548079394737751,"dependent_repos_count":1.0347226280325268,"dependent_packages_count":1.031436723676211,"stargazers_count":5.827124336616733,"forks_count":5.993228285884227,"docker_downloads_count":0.36745897902028357,"average":2.501463148783959},"purl":"pkg:npm/react-detect-click-outside","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/react-detect-click-outside","docker_dependents_count":12,"docker_downloads_count":2432319,"usage_url":"https://repos.ecosyste.ms/usage/npm/react-detect-click-outside","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/react-detect-click-outside/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-31T01:10:10.716Z","issues_count":8,"pull_requests_count":13,"avg_time_to_close_issue":2784659.3333333335,"avg_time_to_close_pull_request":221842.83333333334,"issues_closed_count":3,"pull_requests_closed_count":12,"pull_request_authors_count":6,"issue_authors_count":7,"avg_comments_per_issue":2.5,"avg_comments_per_pull_request":0.6923076923076923,"merged_pull_requests_count":12,"bot_issues_count":0,"bot_pull_requests_count":7,"past_year_issues_count":1,"past_year_pull_requests_count":1,"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":1,"past_year_issue_authors_count":1,"past_year_avg_comments_per_issue":2.0,"past_year_avg_comments_per_pull_request":1.0,"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/zhaluza%2Freact-detect-click-outside/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-detect-click-outside/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-detect-click-outside/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-detect-click-outside/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-detect-click-outside/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-detect-click-outside/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-detect-click-outside/codemeta","maintainers":[{"uuid":"zhaluza","login":"zhaluza","name":null,"email":"zac.haluza@gmail.com","url":null,"packages_count":1,"html_url":"https://www.npmjs.com/~zhaluza","role":null,"created_at":"2022-11-14T01:20:58.870Z","updated_at":"2022-11-14T01:20:58.870Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/zhaluza/packages"}]}