Skip to main content
Module

x/cliffy/prompt/deps.ts>dirname

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Latest
function dirname
import { dirname } from "https://deno.land/x/cliffy@v1.0.0-rc.4/prompt/deps.ts";

Return the directory path of a path.

Parameters

path: string
  • path to extract the directory from.

Returns

string