deno.com

interface path.FormatInputPathObject

Properties #

#root: string | undefined
optional

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

#dir: string | undefined
optional

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

#base: string | undefined
optional

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

#ext: string | undefined
optional

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

#name: string | undefined
optional

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