Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/hex/src/lib/mod.ts>stdx.path.ParsedPath

An ecosystem delivering practices, philosophy and portability. Powered By Deno and JavaScript.
Latest
interface stdx.path.ParsedPath
import { type stdx } from "https://deno.land/x/hex@0.6.5/src/lib/mod.ts";
const { ParsedPath } = stdx.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'