Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.45/deps/std.ts";

Return the directory path of a path.

Parameters

path: string
  • path to extract the directory from.

Returns

string