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

x/molt/lib/std/path.ts>dirname

Update dependencies the Deno way
Latest
function dirname
import { dirname } from "https://deno.land/x/molt@0.17.2/lib/std/path.ts";

Return the directory path of a path.

Parameters

path: string
  • path to extract the directory from.

Returns

string