Rare find

Port Finder. Automatically find an unused network port on your computer.

github.com/sindresorhus/get-port

Vaya's read on this project

Problem, audience, market, and the verdict — sign in to see it.

Updates

March 2026
  • Release —
  • 7.2.0
  • Add `reserve` option to lock ports for the process lifetime
September 2025
  • Clarify race condition protections in docs
March 2024
  • Release —
  • 7.1.0
  • Meta tweaks
  • Add `clearLockedPorts()` method (#70)
June 2023
  • Release —
  • 7.0.0
  • Require Node.js 16
  • Use timeout instead of interval for releasing ports (#68)
February 2022
  • Release —
  • 6.1.2
  • Fix `portNumbers` argument validation and number generation (#64)
  • Release —
  • 6.1.1
  • Mark package as side effect free (#63)
  • Release —
  • 6.1.0
  • Add `exclude` option (#53)
October 2021
  • Release —
  • 6.0.0
  • Require Node.js 12.20 and move to ESM
  • Check all local hosts for port availability (#56)
January 2021
  • Move to GitHub Actions (#51)
January 2020
  • Release —
  • 5.1.1
December 2019
  • Release —
April 2019
  • Release —