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

x/dtils/deps.ts>porter.killProcessOnPort

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

Kills running process on a given port Requires --allow-run flag

Parameters

port: number

Returns

Promise<boolean>