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

x/ter/deps/std.ts>dirname

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

Return the directory path of a path.

Parameters

path: string
  • path to extract the directory from.

Returns

string