Skip to main content
Module

x/lume/deps/path.ts>dirname

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
function dirname
import { dirname } from "https://deno.land/x/lume@v2.1.2/deps/path.ts";

Return the directory path of a path.

Parameters

path: string
  • path to extract the directory from.

Returns

string