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

x/pup/plugins/web-interface/deps.ts>dirname

Universal process manager built in Deno
Go to Latest
function dirname
import { dirname } from "https://deno.land/x/pup@1.0.0-rc.11/plugins/web-interface/deps.ts";

Return the directory path of a path.

Parameters

path: string
  • path to extract the directory from.

Returns

string