Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

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

Return the directory path of a path.

Parameters

path: string
  • path to extract the directory from.

Returns

string