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

x/netzo/deps/std/path/mod.ts>dirname

Deno-powered framework for building business web apps
Go to Latest
function dirname
import { dirname } from "https://deno.land/x/netzo@0.3.91/deps/std/path/mod.ts";

Return the directory path of a path.

Parameters

path: string
  • path to extract the directory from.

Returns

string