Interface IPath

interface IPath {
    delimiter: string;
    sep: string;
    basename(path: string): string;
    dirname(path: string): string;
    extname(path: string): string;
    format(pathObj: IPathObject): string;
    isAbsolute(path: string): boolean;
    join(...paths: string[]): string;
    normalize(path: string): string;
    parse(path: string): IPathObject;
    relative(from: string, to: string): string;
    resolve(...paths: string[]): string;
    toNamespacedPath(path: string): string;
}

Properties

delimiter: string
sep: string

Methods

  • Parameters

    • path: string

    Returns string

  • Parameters

    • path: string

    Returns string

  • Parameters

    • path: string

    Returns string

  • Parameters

    Returns string

  • Parameters

    • path: string

    Returns boolean

  • Parameters

    • Rest...paths: string[]

    Returns string

  • Parameters

    • path: string

    Returns string

  • Parameters

    • from: string
    • to: string

    Returns string

  • Parameters

    • Rest...paths: string[]

    Returns string

  • Parameters

    • path: string

    Returns string