mise API - v0.0.0
    Preparing search index...

    Function storeName_extractFromUrl

    • Extracts a human-readable store name from a store URL.

      Parameters

      • url: string

        The peer store URL.

      Returns string

      A short name for the store.

      storeName_extractFromUrl('https://cube.chrisproject.org/api/v1/')
      // Returns: 'cube.chrisproject.org'