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

x/fathym_common/src/src.deps.ts>dirname

The Fathym Reference Architecture provides the common foundation for applications built in Typescript.
Go to Latest
function dirname
import { dirname } from "https://deno.land/x/fathym_common@v0.0.142/src/src.deps.ts";

Return the directory path of a path.

Parameters

path: string
  • path to extract the directory from.

Returns

string