Module

x/fresh/src/server/deps.ts>dirname

The next-gen web framework.
Extremely Popular
Latest
function dirname
import { dirname } from "https://dotland.deno.dev/x/fresh@1.7.3/src/server/deps.ts";

Return the directory path of a path.

Parameters

path: string
  • path to extract the directory from.

Returns

string