{"id":16095860,"url":"https://github.com/joakin/do-i-have-internet","last_synced_at":"2025-03-18T06:31:11.586Z","repository":{"id":36660766,"uuid":"40967105","full_name":"joakin/do-i-have-internet","owner":"joakin","description":"Continuously check if your connection is working on the command line.","archived":false,"fork":false,"pushed_at":"2018-05-23T17:00:12.000Z","size":8,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-06T04:35:50.770Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/joakin.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2015-08-18T11:00:31.000Z","updated_at":"2020-04-19T10:59:21.000Z","dependencies_parsed_at":"2022-08-24T21:01:42.280Z","dependency_job_id":null,"html_url":"https://github.com/joakin/do-i-have-internet","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joakin%2Fdo-i-have-internet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joakin%2Fdo-i-have-internet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joakin%2Fdo-i-have-internet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joakin%2Fdo-i-have-internet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joakin","download_url":"https://codeload.github.com/joakin/do-i-have-internet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243910430,"owners_count":20367537,"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","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"}},"keywords":[],"created_at":"2024-10-09T17:09:15.460Z","updated_at":"2025-03-18T06:31:11.034Z","avatar_url":"https://github.com/joakin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## do-i-have-internet\n\nSimple `npm` based cli for knowing when the internet goes up or down.\n\nUseful for diagnosing network cuts or instability in a simple way.\n\n```\nnpm install -g do-i-have-internet\n```\n\nIt uses exponential back off until ~30 seconds using the fib sequence when we\nare online. When offline, it backs to try every second.\n\n### Example\n\n```\n# Starting with the internet off, and turning it on and off\n$ do-i-have-internet # or doihaveinternet\nDOWN 8/18/2015 12:57:52 PM\nUP 8/18/2015 12:58:02 PM\nDOWN 8/18/2015 12:58:12 PM\nUP 8/18/2015 12:58:18 PM\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoakin%2Fdo-i-have-internet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoakin%2Fdo-i-have-internet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoakin%2Fdo-i-have-internet/lists"}