sindresorhus

sindresorhus/get-port

Get an available TCP port

JavaScript
925
66
MIT License

`get-port` is a Node.js utility that asynchronously finds an available TCP port, optionally favoring specified ports or ranges. It's designed for developers building servers or running tests who need reliable port allocation without conflicts. The library includes a locking mechanism to prevent race conditions within the same process.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of sindresorhus/get-port

Account's avatar
TypeScript definitions for node
Account's avatar
Node.js test runner that lets you develop with confidence.

Support the repos that depend on this repository

Top contributors

sindresorhus's profile
sindresorhus
46 contributions
jonahsnider's profile
jonahsnider
2 contributions
nagen010's profile
nagen010
2 contributions
acostalima's profile
acostalima
1 contributions
arthurvr's profile
arthurvr
1 contributions
coreyfarrell's profile
coreyfarrell
1 contributions
sinterstice's profile
sinterstice
1 contributions
davidmarkclements's profile
davidmarkclements
1 contributions
BendingBender's profile
BendingBender
1 contributions
mastrzyz's profile
mastrzyz
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet