interface Path {
    basename: (path: string, ext?: string) => string;
    delimiter: string;
    dirname: (path: string) => string;
    extname: (path: string) => string;
    getProtocol: (path: string) => string;
    hasProtocol: (path: string) => boolean;
    isAbsolute: (path: string) => boolean;
    isBlobUrl: (path: string) => boolean;
    isDataUrl: (path: string) => boolean;
    isUrl: (path: string) => boolean;
    join: (...paths: string[]) => string;
    joinExtensions: string[];
    normalize: (path: string) => string;
    parse: (
        path: string,
    ) => {
        base?: string;
        dir?: string;
        ext?: string;
        name?: string;
        root?: string;
    };
    rootname: (path: string) => string;
    sep: string;
    toAbsolute: (url: string, baseUrl?: string, rootUrl?: string) => string;
    toPosix: (path: string) => string;
}

Properties

basename: (path: string, ext?: string) => string
delimiter: string
dirname: (path: string) => string
extname: (path: string) => string
getProtocol: (path: string) => string
hasProtocol: (path: string) => boolean
isAbsolute: (path: string) => boolean
isBlobUrl: (path: string) => boolean
isDataUrl: (path: string) => boolean
isUrl: (path: string) => boolean
join: (...paths: string[]) => string
joinExtensions: string[]
normalize: (path: string) => string
parse: (
    path: string,
) => {
    base?: string;
    dir?: string;
    ext?: string;
    name?: string;
    root?: string;
}
rootname: (path: string) => string
sep: string
toAbsolute: (url: string, baseUrl?: string, rootUrl?: string) => string
toPosix: (path: string) => string