@squidcloud/client
    Preparing search index...

    Function generateShortId

    • Generates an ID of the given length using lowercase latin letters and digits. If the 'prefix' provided replaces the first generated characters with the prefix.

      Parameters

      • length: number = DEFAULT_SHORT_ID_LENGTH
      • prefix: string = ''

      Returns string