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

x/mtkruto/0_deps.ts>path.dirname

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
function path.dirname
import { path } from "https://deno.land/x/mtkruto@0.1.147/0_deps.ts";
const { dirname } = path;

Return the directory path of a path.

Parameters

path: string
  • path to extract the directory from.

Returns

string