@arcmantle/library
    Preparing search index...

    Function domId

    • Generate unique ID using the case sensitive english alphabet a-z, A-Z for the first character and a nanoid for the remainder. Optionally pass a prefix.

      By default, the ID will have 21 symbols to have a collision probability similar to UUID v4.

      Parameters

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

      Returns string