{"id":20727257,"url":"https://github.com/john-doherty/is-port-busy","last_synced_at":"2026-05-02T05:02:52.780Z","repository":{"id":57277515,"uuid":"69701782","full_name":"john-doherty/is-port-busy","owner":"john-doherty","description":"A simple node module to check if a TCP port is busy on the local machine.","archived":false,"fork":false,"pushed_at":"2018-03-13T23:20:10.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-15T01:38:37.859Z","etag":null,"topics":["node-module","nodejs","tcp-port"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/john-doherty.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":"2016-09-30T20:59:32.000Z","updated_at":"2018-03-13T23:20:11.000Z","dependencies_parsed_at":"2022-09-18T08:40:53.920Z","dependency_job_id":null,"html_url":"https://github.com/john-doherty/is-port-busy","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/john-doherty/is-port-busy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/john-doherty%2Fis-port-busy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/john-doherty%2Fis-port-busy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/john-doherty%2Fis-port-busy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/john-doherty%2Fis-port-busy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/john-doherty","download_url":"https://codeload.github.com/john-doherty/is-port-busy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/john-doherty%2Fis-port-busy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260674204,"owners_count":23045042,"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":["node-module","nodejs","tcp-port"],"created_at":"2024-11-17T04:29:47.495Z","updated_at":"2026-05-02T05:02:52.693Z","avatar_url":"https://github.com/john-doherty.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# is-port-busy\n\n[![Shippable branch](https://img.shields.io/shippable/5818b23cffe90f0e00ac83de/master.svg)](https://app.shippable.com/projects/5818b23cffe90f0e00ac83de) [![npm](https://img.shields.io/npm/dt/is-port-busy.svg)](https://www.npmjs.com/package/is-port-busy) [![Linked In](https://img.shields.io/badge/Linked-In-blue.svg)](https://www.linkedin.com/in/john-i-doherty) [![Twitter Follow](https://img.shields.io/twitter/follow/mrJohnDoherty.svg?style=social\u0026label=Twitter\u0026style=plastic)](https://twitter.com/mrJohnDoherty)\n\nA simple node module to check if a TCP port is busy on the local machine. See also [is-port-free](https://www.npmjs.com/package/is-port-free)\n\n## Installation\n\n```bash\n$ npm install --save is-port-busy\n```\n\n## Example\n\n```js\nvar isPortBusy = require('is-port-busy');\n\nisPortBusy(8080).then(function(){\n    console.log('yes');\n})\n.catch(function(){\n    console.log('no');\n});\n```\n\n## Running tests\n\nInstall dev dependencies and run tests:\n\n```\n$ npm install -d \u0026\u0026 npm test\n```\n\n## License\n\nLicensed under [ISC License](LICENSE) \u0026copy; [John Doherty](http://www.johndoherty.info)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohn-doherty%2Fis-port-busy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohn-doherty%2Fis-port-busy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohn-doherty%2Fis-port-busy/lists"}