{"id":15835113,"url":"https://github.com/afeiship/next-is-reachable","last_synced_at":"2026-05-05T03:37:55.711Z","repository":{"id":57122814,"uuid":"358106976","full_name":"afeiship/next-is-reachable","owner":"afeiship","description":"Check if port reachable.","archived":false,"fork":false,"pushed_at":"2021-04-15T02:55:47.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-06T08:08:36.486Z","etag":null,"topics":["conflict","host","if","next","port","reachable"],"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/afeiship.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-15T02:48:55.000Z","updated_at":"2021-04-15T02:56:03.000Z","dependencies_parsed_at":"2022-08-24T14:59:31.904Z","dependency_job_id":null,"html_url":"https://github.com/afeiship/next-is-reachable","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-is-reachable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-is-reachable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-is-reachable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Fnext-is-reachable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afeiship","download_url":"https://codeload.github.com/afeiship/next-is-reachable/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246639021,"owners_count":20809920,"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":["conflict","host","if","next","port","reachable"],"created_at":"2024-10-05T14:20:42.213Z","updated_at":"2026-05-05T03:37:50.692Z","avatar_url":"https://github.com/afeiship.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# next-is-reachable\n\u003e Check if port reachable.\n\n[![version][version-image]][version-url]\n[![license][license-image]][license-url]\n[![size][size-image]][size-url]\n[![download][download-image]][download-url]\n\n## installation\n```bash\nnpm install -S @jswork/next-is-reachable\n```\n\n## usage\n```js\nimport '@jswork/next-is-reachable';\n\nnx.isReachable({ port: 80, host: 'www.baidu.com' }).then((res) =\u003e {\n  // true\n});\n```\n\n## license\nCode released under [the MIT license](https://github.com/afeiship/next-is-reachable/blob/master/LICENSE.txt).\n\n[version-image]: https://img.shields.io/npm/v/@jswork/next-is-reachable\n[version-url]: https://npmjs.org/package/@jswork/next-is-reachable\n\n[license-image]: https://img.shields.io/npm/l/@jswork/next-is-reachable\n[license-url]: https://github.com/afeiship/next-is-reachable/blob/master/LICENSE.txt\n\n[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-is-reachable\n[size-url]: https://github.com/afeiship/next-is-reachable/blob/master/dist/next-is-reachable.min.js\n\n[download-image]: https://img.shields.io/npm/dm/@jswork/next-is-reachable\n[download-url]: https://www.npmjs.com/package/@jswork/next-is-reachable\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fnext-is-reachable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafeiship%2Fnext-is-reachable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Fnext-is-reachable/lists"}