sindresorhus/get-port
Get an available TCP port
Slowing — last commit 6mo ago
No blocking maintenance, license, or known-CVE signals were found; still verify the package version and fit.
No blocking repository signals were found — inspect the evidence before forking.
Documented and popular — useful reference codebase to read through.
Scorecard "Branch-Protection" is 0/10; Scorecard "Token-Permissions" is 0/10
- ⚠Slowing — last commit 6mo ago
- ⚠Concentrated ownership — top contributor handles 69% of recent commits
- ⚠No tests detected in the complete Git tree
- ⚠Scorecard: marked unmaintained (0/10)
- ⚠Scorecard: default branch unprotected (0/10)
- ✓Last commit 6mo ago
- ✓21+ active contributors
- ✓MIT licensed
- ✓CI configured
What would improve this?
- •Deploy as-is Mixed to Healthy if: bring "Branch-Protection" to ≥3/10 (see scorecard report)
Computed from maintenance signals — commit recency, contributor breadth, bus factor, license, CI, tests, cross-checked against dependency CVEs from deps.dev and OpenSSF Scorecard
Informational only. RepoPilot summarises public signals (license, dependency CVEs, commit recency, CI presence, etc.) at the time of analysis. Signals can be incomplete or stale. Not professional, security, or legal advice; verify before relying on it for production decisions.
Repository brief
Verdict
What it is
Start here
Get running
Key cautions & unknowns
Sources
Evidence note
Full context for agent files, or a concise PDF for human review.
View complete agent reference
Open to load every section of the agent reference.
Want this for your own repo?
Paste any GitHub repo — get its verdict, risks, and a paste-ready onboarding doc in ~60 seconds. Free, no sign-up.
Embed the "Safe to depend on" badge
Paste into your README — live-updates from the latest cached analysis.
[](https://repopilot.app/r/sindresorhus/get-port)Paste at the top of your README.md — renders inline like a shields.io badge.
▸Preview social card
This card auto-renders when someone shares https://repopilot.app/r/sindresorhus/get-port on X, Slack, or LinkedIn.
Ask AI about sindresorhus/get-port
Grounded in the actual source code. Pick a starter question or write your own.
Similar JavaScript repos
Other mixed-signal JavaScript repos by stars.
More from sindresorhus
See allRecent Q&A
Public conversations other people have had about this repo.
- What's the MIT license text and who is the copyright holder?2 messages · 9/1/2026
- What happens in tests when the requested port is in use? What's verified?2 messages · 9/1/2026
- Can I bind to a specific host? How is the host option passed through?2 messages · 9/1/2026
- Is there a helper to generate a sequence of port numbers to try?2 messages · 9/1/2026
- What is the type signature of the main exported function?2 messages · 9/1/2026
- How does this find an available port? Show me the actual implementation.2 messages · 9/1/2026
- What's the MIT license text and who is the copyright holder?2 messages · 8/1/2026
- What happens in tests when the requested port is in use? What's verified?2 messages · 8/1/2026
Embed this chat in your README
Drop this iframe anywhere — the widget runs against the same live analysis cache as the main app.
<iframe src="https://repopilot.app/embed/sindresorhus/get-port" width="100%" height="500" style="border:1px solid #d0d7de; border-radius:8px;" allow="microphone" loading="lazy" ></iframe>