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

x/fastro/http/server/deps.ts>dirname

Full Stack Framework for Deno, TypeScript, Preact JS and Tailwind CSS
Go to Latest
function dirname
import { dirname } from "https://deno.land/x/fastro@v0.88.1/http/server/deps.ts";

Return the directory path of a path.

Parameters

path: string
  • path to extract the directory from.

Returns

string