kaven-basic - v6.0.0
    Preparing search index...

    Function CombinePath

    • Combines a base path with one or more additional path segments into a single normalized path string.

      This function trims whitespace from the base path and each additional segment, replaces all backslashes with forward slashes, and ensures that there are no duplicate or trailing slashes between segments. Empty segments are skipped.

      Parameters

      • base: string

        The base path to start from.

      • ...paths: string[]

        Additional path segments to combine with the base path.

      Returns string

      The combined and normalized path string.

      1.1.7

      2025-07-02