{"id":13638528,"name":"react-visibility-hooks","ecosystem":"npm","description":"Tiny, SSR-safe React hooks for page visibility, idle detection, smart polling, network awareness, wake lock, battery status and more","homepage":"https://github.com/exewhyz/react-visibility-hooks#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/exewhyz/react-visibility-hooks","keywords_array":["react","react-hooks","hooks","visibility","page-visibility","visibilitychange","idle-detection","idle","performance","react-performance","smart-polling","polling","auto-pause","video","analytics","react-utils","ssr","ssr-safe","nextjs","typescript","wake-lock","battery","network-aware","session-timeout","focus-effect","online-offline","inactivity","visibility-hooks","resource-aware","offline-first","react-polling","page-lifecycle","foreground-background"],"namespace":null,"versions_count":14,"first_release_published_at":"2026-02-07T15:20:41.197Z","latest_release_published_at":"2026-02-12T09:34:48.845Z","latest_release_number":"3.0.1","latest_published_release_number":null,"last_synced_at":"2026-10-14T17:09:46.453Z","created_at":"2026-02-12T01:31:18.255Z","updated_at":"2026-10-14T17:09:47.280Z","registry_url":"https://www.npmjs.com/package/react-visibility-hooks","install_command":"npm install react-visibility-hooks","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"3.0.1"},"contentPolicy":null},"repo_metadata":{"id":337100848,"uuid":"1152227030","full_name":"exewhyz/react-visibility-hooks","owner":"exewhyz","description":"INSTALL: npm i react-visibility-hooks","archived":false,"fork":false,"pushed_at":"2026-02-12T09:33:39.000Z","size":963,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-10-14T13:37:10.931Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://visibility-hooks.grettech.com","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/exewhyz.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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":"2026-02-07T15:05:54.000Z","updated_at":"2026-02-12T09:31:54.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/exewhyz/react-visibility-hooks","commit_stats":null,"previous_names":["exewhyz/react-visibility-hooks"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/exewhyz/react-visibility-hooks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exewhyz%2Freact-visibility-hooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exewhyz%2Freact-visibility-hooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exewhyz%2Freact-visibility-hooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exewhyz%2Freact-visibility-hooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exewhyz","download_url":"https://codeload.github.com/exewhyz/react-visibility-hooks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exewhyz%2Freact-visibility-hooks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344794859,"owners_count":38319466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-14T02:00:06.392Z","response_time":82,"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":"exewhyz","name":"Aniket Raj","uuid":"32168046","kind":"user","description":"","email":"","website":null,"location":"Bengaluru","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/32168046?u=a0f1c3d8d6ccc7219c1700662f261077ccc6b3b3\u0026v=4","repositories_count":2,"last_synced_at":"2023-05-25T21:28:45.032Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/exewhyz","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2023-05-25T21:28:45.049Z","updated_at":"2023-05-25T21:28:45.049Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exewhyz","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exewhyz/repositories"},"tags":[{"name":"v2.0.0","sha":"3becc1deb4acc8e925e271cfa2f863fdc695f27b","kind":"tag","published_at":"2026-02-07T21:18:44.000Z","download_url":"https://codeload.github.com/exewhyz/react-visibility-hooks/tar.gz/v2.0.0","html_url":"https://github.com/exewhyz/react-visibility-hooks/releases/tag/v2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/exewhyz/react-visibility-hooks@v2.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exewhyz%2Freact-visibility-hooks/tags/v2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exewhyz%2Freact-visibility-hooks/tags/v2.0.0/manifests"},{"name":"v1.0.14","sha":"ade203f995efe02c9ed0f77f20eaf29dc0f4511c","kind":"commit","published_at":"2026-02-07T20:58:55.000Z","download_url":"https://codeload.github.com/exewhyz/react-visibility-hooks/tar.gz/v1.0.14","html_url":"https://github.com/exewhyz/react-visibility-hooks/releases/tag/v1.0.14","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/exewhyz/react-visibility-hooks@v1.0.14","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exewhyz%2Freact-visibility-hooks/tags/v1.0.14","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exewhyz%2Freact-visibility-hooks/tags/v1.0.14/manifests"},{"name":"v1.0.13","sha":"62d18b4e4612889fa9311c55c18004deeaa25fda","kind":"tag","published_at":"2026-02-07T20:31:45.000Z","download_url":"https://codeload.github.com/exewhyz/react-visibility-hooks/tar.gz/v1.0.13","html_url":"https://github.com/exewhyz/react-visibility-hooks/releases/tag/v1.0.13","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/exewhyz/react-visibility-hooks@v1.0.13","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exewhyz%2Freact-visibility-hooks/tags/v1.0.13","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exewhyz%2Freact-visibility-hooks/tags/v1.0.13/manifests"}]},"repo_metadata_updated_at":"2026-10-14T17:09:47.280Z","dependent_packages_count":0,"downloads":null,"downloads_period":"last-month","dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":22.945251037738736,"dependent_packages_count":33.08080111572745,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":28.013026076733095},"purl":"pkg:npm/react-visibility-hooks","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/react-visibility-hooks","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/react-visibility-hooks","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/react-visibility-hooks/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-10-14T10:24:34.824Z","issues_count":0,"pull_requests_count":1,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":49.0,"issues_closed_count":0,"pull_requests_closed_count":1,"pull_request_authors_count":1,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":2.0,"merged_pull_requests_count":1,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":1,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":49.0,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":1,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":2.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":1,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/exewhyz%2Freact-visibility-hooks/issues","maintainers":[{"login":"exewhyz","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/exewhyz"}],"active_maintainers":[{"login":"exewhyz","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/exewhyz"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-visibility-hooks/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-visibility-hooks/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-visibility-hooks/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-visibility-hooks/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-visibility-hooks/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-visibility-hooks/codemeta","maintainers":[{"uuid":"exwhyzed","login":"exwhyzed","name":null,"email":"araj52444@gmail.com","url":null,"packages_count":2,"html_url":"https://www.npmjs.com/~exwhyzed","role":null,"created_at":"2026-02-12T01:31:33.331Z","updated_at":"2026-02-12T01:31:33.331Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/exwhyzed/packages"}]}