An open API service indexing awesome lists of open source software.

https://github.com/risingstack/find-port

Open port finder with Promise interface.
https://github.com/risingstack/find-port

Last synced: 6 months ago
JSON representation

Open port finder with Promise interface.

Awesome Lists containing this project

README

          

# Find-port

Open port finder with Promise interface.

```javascript
const findPort = require('@risingstack/find-port')

const start = 1024
const end = 2048 // 65535 by default

findPort(start, end)
.then((port) => console.log('Port is open:', port))
.catch((error) => console.error(error))
```

## Installation

```
npm install @risingstack/find-port --save
```