Skip to main content
Deno 2 is finally here πŸŽ‰οΈ
Learn more
Module

x/gustwind/server-deps.ts>path.dirname

πŸ³πŸ’¨ – Deno powered site creator
Go to Latest
function path.dirname
import { path } from "https://deno.land/x/gustwind@v0.59.1/server-deps.ts";
const { dirname } = path;

Return the directory path of a path.

Parameters

path: string
  • path to extract the directory from.

Returns

string