Skip to content

Commit

Permalink
Version 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ibc committed Jan 9, 2024
1 parent c5087ff commit f26cee5
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# pick-port

[![][npm-shield-pick-port]][npm-pick-port]
[![][github-actions-shield-pick-port]][github-actions-pick-port]

Get an available TCP or UDP port for the given IP address.

```bash
Expand Down Expand Up @@ -47,10 +50,16 @@ Resolves with an available port or rejects with an error otherwise.

The `reserveTimeout` option provides the application with the required time to bind the free port before it is given again on a future call to this library.

## Author
## Authors

- José Luis Millán [[github](https://github.com/jmillan/)]
- Iñaki Baz Castillo [[website](https://inakibaz.me)|[github](https://github.com/ibc/)]

## License

[ISC](./LICENSE)

[npm-shield-pick-port]: https://img.shields.io/npm/v/pick-port.svg
[npm-pick-port]: https://npmjs.org/package/pick-port
[github-actions-shield-pick-port]: https://github.com/versatica/pick-port/actions/workflows/pick-port.yaml/badge.svg
[github-actions-pick-port]: https://github.com/versatica/pick-port/actions/workflows/pick-port.yaml
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
{
"name": "pick-port",
"version": "2.0.0-pre",
"version": "2.0.0",
"description": "Get a free TCP or UDP port for the given IP address",
"author": "José Luis Millán <[email protected]> (https://github.com/jmillan)",
"contributors": [
"Iñaki Baz Castillo <[email protected]> (https://inakibaz.me)"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/jmillan/pick-port.git"
"url": "https://github.com/versatica/pick-port.git"
},
"bugs": {
"url": "https://github.com/jmillan/pick-port/issues"
"url": "https://github.com/versatica/pick-port/issues"
},
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down

0 comments on commit f26cee5

Please sign in to comment.