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

x/ter/deps/std.ts>path.dirname

A tiny wiki-style site generator with Zettelkasten flavor.
Latest
function path.dirname
import { path } from "https://deno.land/x/ter@0.15.57/deps/std.ts";
const { dirname } = path;

Return the directory path of a path.

Parameters

path: string
  • path to extract the directory from.

Returns

string