{"id":15497196,"url":"https://github.com/jwerle/is-localhost","last_synced_at":"2025-10-03T14:44:48.138Z","repository":{"id":16145749,"uuid":"18891322","full_name":"jwerle/is-localhost","owner":"jwerle","description":"Determine if a host is a localhost","archived":false,"fork":false,"pushed_at":"2014-06-26T12:23:17.000Z","size":192,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T21:40:26.244Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jwerle.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":"2014-04-17T19:45:35.000Z","updated_at":"2019-08-16T00:58:43.000Z","dependencies_parsed_at":"2022-09-02T22:10:53.229Z","dependency_job_id":null,"html_url":"https://github.com/jwerle/is-localhost","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwerle%2Fis-localhost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwerle%2Fis-localhost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwerle%2Fis-localhost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwerle%2Fis-localhost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jwerle","download_url":"https://codeload.github.com/jwerle/is-localhost/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250330157,"owners_count":21412939,"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-02T08:31:36.470Z","updated_at":"2025-10-03T14:44:48.025Z","avatar_url":"https://github.com/jwerle.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"is-localhost\n============\n\nDetermine if a host is a localhost\n\n## install\n\n```sh\n$ npm install is-localhost\n```\n\n## usage\n\n```js\nvar isLocal = require('is-localhost')\n\nisLocal('127.0.0.1'); // true\nisLocal('12.34.56.78'); // false\nisLocal('::1'); // true\n```\n\n## license\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwerle%2Fis-localhost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjwerle%2Fis-localhost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwerle%2Fis-localhost/lists"}