Skip to main content
Module

x/dkill/mod.ts>portToPid

🎯kill processes identified by port in Deno 🦕
Go to Latest
function portToPid
Re-export
import { portToPid } from "https://deno.land/x/dkill@0.9.0/mod.ts";

Find the pids using a given port

Parameters

port: number

Returns

Promise<number[]>

array of pid