{"id":20727260,"url":"https://github.com/john-doherty/is-port-free","last_synced_at":"2025-10-09T05:37:10.439Z","repository":{"id":57277511,"uuid":"69700941","full_name":"john-doherty/is-port-free","owner":"john-doherty","description":"A simple node module to check if a TCP port is free on the local machine.","archived":false,"fork":false,"pushed_at":"2018-03-13T23:18:31.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-21T12:58:10.161Z","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:45:53.000Z","updated_at":"2018-03-13T23:18:32.000Z","dependencies_parsed_at":"2022-09-17T02:03:46.113Z","dependency_job_id":null,"html_url":"https://github.com/john-doherty/is-port-free","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/john-doherty%2Fis-port-free","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/john-doherty%2Fis-port-free/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/john-doherty%2Fis-port-free/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/john-doherty%2Fis-port-free/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/john-doherty","download_url":"https://codeload.github.com/john-doherty/is-port-free/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250496214,"owners_count":21440227,"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:48.033Z","updated_at":"2025-10-09T05:37:05.420Z","avatar_url":"https://github.com/john-doherty.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# is-port-free\n\n[![Shippable branch](https://img.shields.io/shippable/5818b23b8ec3a610001a7293/master.svg)](https://app.shippable.com/projects/5818b23b8ec3a610001a7293) [![npm](https://img.shields.io/npm/dt/is-port-free.svg)](https://www.npmjs.com/package/is-port-free) [![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 free on the local machine. See also [is-port-busy](https://www.npmjs.com/package/is-port-busy)\n\n## Installation\n\n```bash\n$ npm install --save is-port-free\n```\n\n## Example\n\n```js\nvar isPortFree = require('is-port-free');\n\nisPortFree(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-free","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohn-doherty%2Fis-port-free","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohn-doherty%2Fis-port-free/lists"}