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

x/fresh/tests/deps.ts>dirname

The next-gen web framework.
Extremely Popular
Go to Latest
function dirname
import { dirname } from "https://deno.land/x/fresh@1.6.3/tests/deps.ts";

Return the directory path of a path.

Parameters

path: string
  • path to extract the directory from.

Returns

string