NEWCKEditor AI on your premises: Hook your LLM and register MCP tools. Webinar coming soon!
Sign up (with export icon)

utils/uid

Api-module iconmodule

Functions

  • Chevron-right icon

    uid() → string

    Returns a unique id. The id starts with an "e" character and a randomly generated string of 32 alphanumeric characters.

    Note: The characters the unique id is built from correspond to the hex number notation (from "0" to "9", from "a" to "f"). In other words, each id corresponds to an "e" followed by 16 8-bit numbers next to each other.

    Returns

    string

    An unique id string.