UNPKG

poku

Version:

🐷 Poku makes testing easy for Node.js, Bun, Deno, and you at the same time.

10 lines (9 loc) 428 B
/** Kill processes by PIDs, ports and port ranges. */ export declare const kill: { /** Kill the specified process ID */ pid: (PID: number | number[]) => Promise<void>; /** Kill all processes listening on the specified port */ port: (port: number | number[]) => Promise<void>; /** Kill all processes listening on the specified range ports */ range: (startsAt: number, endsAt: number) => Promise<void>; };