• Trim a URL path, so it has no starting or trailing slash

    Parameters

    • path: string

    Returns string