vitepress-linkcard
    Preparing search index...

    Function cleanPath

    • Removes duplicate consecutive slashes from a path string.

      Parameters

      • path: string

        The path string to clean

      Returns string

      The cleaned path with no consecutive slashes