@vsokolov/utils - v1.4.2
    Preparing search index...

    Function nanoid

    • nanoid implementation using Web Crypto getRandomValues. Assumes a Web Crypto implementation is available (e.g. window.crypto or globalThis.crypto).

      Parameters

      • size: number = 21

        Length of the generated ID (default: 21)

      Returns string