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

x/wmill/deps.ts>path.ParsedPath

Open-source developer platform to turn scripts into workflows and UIs. Fastest workflow engine (5x vs Airflow). Open-source alternative to Airplane and Retool.
Go to Latest
interface path.ParsedPath
Re-export
import { type path } from "https://deno.land/x/wmill@v1.354.0/deps.ts";
const { ParsedPath } = path;

A parsed path object generated by path.parse() or consumed by path.format().

Properties

root: string

The root of the path such as '/' or 'c:'

dir: string

The full directory path such as '/home/user/dir' or 'c:\path\dir'

base: string

The file name including extension (if any) such as 'index.html'

ext: string

The file extension (if any) such as '.html'

name: string

The file name without extension (if any) such as 'index'