Bun

interface

path.default.FormatInputPathObject

interface FormatInputPathObject

  • base?: string

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

  • dir?: string

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

  • ext?: string

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

  • name?: string

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

  • root?: string

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