default.FormatInputPathObject - Node documentation
interface default.FormatInputPathObject

Usage in Deno

import type default from "node:path";
type { FormatInputPathObject } = default;

Properties

optional
root: string | undefined

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

optional
dir: string | undefined

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

optional
base: string | undefined

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

optional
ext: string | undefined

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

optional
name: string | undefined

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