Skip to content

Commit

Permalink
Tidelift tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Sep 10, 2019
1 parent 07c8acc commit bb034b7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/funding.yml
@@ -1,3 +1,4 @@
github: sindresorhus
open_collective: sindresorhus
custom: https://sindresorhus.com/donate
tidelift: npm/get-port
3 changes: 3 additions & 0 deletions .github/security.md
@@ -0,0 +1,3 @@
# Security Policy

To report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security). Tidelift will coordinate the fix and disclosure.
16 changes: 12 additions & 4 deletions readme.md
Expand Up @@ -50,13 +50,13 @@ Use the `makeRange()` helper in case you need a port in a certain range:

## API

### getPort([options])
### getPort(options?)

Returns a `Promise` for a port number.

#### options

Type: `Object`
Type: `object`

##### port

Expand Down Expand Up @@ -99,6 +99,14 @@ There is a very tiny chance of a race condition if another service starts using
- [get-port-cli](https://github.com/sindresorhus/get-port-cli) - CLI for this module


## License
---

MIT © [Sindre Sorhus](https://sindresorhus.com)
<div align="center">
<b>
<a href="https://tidelift.com/subscription/pkg/npm-get-port?utm_source=npm-get-port&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
</b>
<br>
<sub>
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
</sub>
</div>

0 comments on commit bb034b7

Please sign in to comment.