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

x/abc/vendor/https/deno.land/std/path/mod.ts>ParsedPath

A better Deno framework to create web application.
Latest
interface ParsedPath
import { type ParsedPath } from "https://deno.land/x/abc@v1.3.3/vendor/https/deno.land/std/path/mod.ts";

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'