Skip to main content
Module

x/simple_utility/deps.ts>dirname

Useful snippet collection.
Go to Latest
function dirname
import { dirname } from "https://deno.land/x/simple_utility@v1.6.0/deps.ts";

Return the directory path of a path.

Parameters

path: string
  • path to extract the directory from.

Returns

string