https://github.com/cap32/find-port-sync
Sync get an available port
https://github.com/cap32/find-port-sync
free nodejs port sync
Last synced: 2 months ago
JSON representation
Sync get an available port
- Host: GitHub
- URL: https://github.com/cap32/find-port-sync
- Owner: Cap32
- License: mit
- Created: 2016-12-13T09:18:34.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-17T05:14:27.000Z (almost 9 years ago)
- Last Synced: 2025-02-28T18:25:41.674Z (over 1 year ago)
- Topics: free, nodejs, port, sync
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# find-port-sync
> Sync get an available port
## Install
```
$ npm install find-port-sync
```
## Usage
```js
const findPortSync = require('find-port-sync');
findPortSync(); //=> 51402
```
## Related
- [get-port](https://github.com/sindresorhus/get-port) - Async API for this module
- [get-port-cli](https://github.com/sindresorhus/get-port-cli) - CLI for this module
## License
MIT © Cap32