Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/dtils/deps.ts>porter.isPortAvailable

The best unofficial library of utilities for Deno applications
Go to Latest
function porter.isPortAvailable
import { porter } from "https://deno.land/x/dtils@2.5.0/deps.ts";
const { isPortAvailable } = porter;

Checks if a port is available Requires --allow-net flag

Parameters

options: IListenerOptions

Returns

Promise<boolean>