Skip to main content

ParsedPath

interface path.ParsedPath

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

Properties Jump to heading

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

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

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

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

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

Back to top