khaliport
v1.0.1
Published
Find a free port to use, works on all platforms
Downloads
12
Readme
Khaliport
Get an unused TCP or UDP port on your system, works on both Nodejs and Bare runtime.
Install
npm i khaliportUsage
import { freePort } from 'khaliport'
const port = await freePort()
console.log(port)CLI
Install
npm i khaliport -gUsage
khaliportAPI
freePortfreePortUDP
