• Parameters

    • pathStr: string
    • pathSeparator: "\\" | "/" = path.sep

    Returns string