# get-available-port

> finds a random available port

Latest version **1.0.0** (published 2018-07-14) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install get-available-port
pnpm add get-available-port
yarn add get-available-port
bun add get-available-port
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2018-07-14 |
| First published | 2018-07-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Lina van der Weg |
| Maintainers | ee |
| Keywords | random, port |

## Links

- npm: https://www.npmjs.com/package/get-available-port
- Repository: https://github.com/distributed-systems/get-available-port
- Homepage: https://github.com/distributed-systems/get-available-port#readme
- Issues: https://github.com/distributed-systems/get-available-port/issues
- npm.io page: https://npm.io/package/get-available-port

## Alternatives

- [@clerk/clerk-expo](https://npm.io/package/@clerk/clerk-expo.md) — 133.6K weekly downloads
- [@pothos/plugin-authz](https://npm.io/package/@pothos/plugin-authz.md) — 12.4K weekly downloads
- [@bounded-sh/client](https://npm.io/package/@bounded-sh/client.md) — 3.2K weekly downloads
- [@oxyhq/services](https://npm.io/package/@oxyhq/services.md) — 2.3K weekly downloads
- [@luigi-project/plugin-auth-oauth2](https://npm.io/package/@luigi-project/plugin-auth-oauth2.md) — 2.3K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2018-07-14

## README

# Get Available Port 

finds a random available port

```
import PortFinder from 'get-available-port';

const finder = new PortFinder({
    min: 80, // defaults to 20'000
    max: 100, // defaults to 60'000
});


const port = await finder.getPort(); // 91

---
_Source: https://npm.io/package/get-available-port · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
