Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/justjavac/deno_is_free_port
Return true if a port is free.
https://github.com/justjavac/deno_is_free_port
deno deno-mod deno-module deno-modules network port
Last synced: 22 days ago
JSON representation
Return true if a port is free.
- Host: GitHub
- URL: https://github.com/justjavac/deno_is_free_port
- Owner: justjavac
- License: mit
- Created: 2020-08-24T05:48:56.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-24T05:55:09.000Z (about 4 years ago)
- Last Synced: 2024-10-10T11:12:34.668Z (about 1 month ago)
- Topics: deno, deno-mod, deno-module, deno-modules, network, port
- Language: TypeScript
- Homepage:
- Size: 3.91 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# deno_is_free_port
[![tag](https://img.shields.io/github/release/justjavac/deno_is_free_port)](https://github.com/justjavac/deno_is_free_port/releases)
[![Build Status](https://github.com/justjavac/deno_is_free_port/workflows/ci/badge.svg?branch=master)](https://github.com/justjavac/deno_is_free_port/actions)
[![license](https://img.shields.io/github/license/justjavac/deno_is_free_port)](https://github.com/justjavac/deno_is_free_port/blob/master/LICENSE)Return `true` if a port is free.
## Usage
```ts
import isFreePort from "https://deno.land/x/is_free_port/mod.ts";isFreePort(21);
isFreePort(8080);
isFreePort(1234);
```## Example
```bash
deno run --allow-net https://deno.land/x/is_free_port/example.ts
```## License
[deno_is_free_port](https://github.com/justjavac/deno_is_free_port) is released under the MIT License. See the bundled [LICENSE](./LICENSE) file for details.