Function pathJoin

  • Join path parts with separator. Similar to PHP's pathJoin

    Parameters

    • parts: string[]

      path parts

    • separator: string = "/"

      separator, default '/'

    Returns string