{"id":51118960,"url":"https://github.com/sulthonzh/killport","last_synced_at":"2026-06-25T00:30:34.840Z","repository":{"id":363704498,"uuid":"1264524143","full_name":"sulthonzh/killport","owner":"sulthonzh","description":"kill whatever's running on a port — zero deps","archived":false,"fork":false,"pushed_at":"2026-06-19T13:22:44.000Z","size":18,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-19T15:22:14.704Z","etag":null,"topics":["cli","kill","lsof","port","process"],"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/sulthonzh.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-10T00:48:23.000Z","updated_at":"2026-06-19T13:19:38.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/sulthonzh/killport","commit_stats":null,"previous_names":["sulthonzh/killport"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sulthonzh/killport","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sulthonzh%2Fkillport","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sulthonzh%2Fkillport/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sulthonzh%2Fkillport/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sulthonzh%2Fkillport/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sulthonzh","download_url":"https://codeload.github.com/sulthonzh/killport/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sulthonzh%2Fkillport/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34755061,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cli","kill","lsof","port","process"],"created_at":"2026-06-25T00:30:34.752Z","updated_at":"2026-06-25T00:30:34.831Z","avatar_url":"https://github.com/sulthonzh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# killport\n\nKill whatever's running on a port. Zero deps.\n\n```bash\nnpx killport 3000\n# killed pid 48291 (node) on port 3000 [SIGTERM]\n```\n\n## Why\n\nEvery dev has been here — you start a server and get \"port already in use\". You fumble around with `lsof -i :3000`, copy the PID, then `kill -9 \u003cpid\u003e`. Every. Single. Time.\n\n`killport` does it in one command. Works on macOS and Linux. Windows too (with `netstat`/`taskkill`).\n\n## Install\n\n```bash\nnpm install -g killport\n```\n\nOr just use it once:\n\n```bash\nnpx killport 3000\n```\n\n## Usage\n\n```bash\n# Kill whatever's on port 3000\nkillport 3000\n\n# Force kill (SIGKILL)\nkillport 3000 -f\n\n# List what's on a port without killing\nkillport 3000 -l\n\n# JSON output\nkillport 3000 -l -j\n\n# Scan common ports for listeners\nkillport scan\n\n# Scan ALL ports (slower)\nkillport scan -a\n```\n\n## Scan Output\n\n```\n$ killport scan\n    22  pid    352  sshd\n  3000  pid  48291  node\n  5432  pid    712  postgres\n  8080  pid  12340  python\n\n4 listeners found\n```\n\n## Options\n\n| Flag | Description |\n|------|-------------|\n| `-f, --force` | Kill with SIGKILL instead of SIGTERM |\n| `-s, --signal \u003csig\u003e` | Custom signal (SIGTERM, SIGKILL, etc.) |\n| `-l, --list` | List only, don't kill |\n| `-j, --json` | JSON output |\n| `scan` | Scan for listening ports |\n| `-a, --all` | Scan all ports (with scan) |\n\n## Exit Codes\n\n- `0` — success (killed or nothing to kill)\n- `1` — kill failed\n- `2` — invalid arguments\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsulthonzh%2Fkillport","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsulthonzh%2Fkillport","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsulthonzh%2Fkillport/lists"}