Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dtils/deps.ts>porter.isPortAvailableSync

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

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

Parameters

options: IListenerOptions

Returns

boolean