Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/hex/src/cli/deps.ts>pathPosix.dirname

An ecosystem delivering practices, philosophy and portability.
Go to Latest
function pathPosix.dirname
import { pathPosix } from "https://deno.land/x/hex@0.5.15/src/cli/deps.ts";
const { dirname } = pathPosix;

Return the directory path of a path.

Parameters

path: string

to determine the directory path for

Returns

string