Skip to main content
Module

x/vento/deps.ts>path.dirname

🌬 A template engine for Deno & Node
Go to Latest
function path.dirname
import { path } from "https://deno.land/x/vento@v0.12.5/deps.ts";
const { dirname } = path;

Return the directory path of a path.

Parameters

path: string
  • path to extract the directory from.

Returns

string