Documentation
    Preparing search index...
    • Normalizes a string that is either an empty string, or if not it starts with a / but does not ends with one.

      The reason for this limitation is to let the base variable be trivially joined with other paths like this: ${base}/foo

      Parameters

      • path: string = ''

      Returns "" | `/${string}`