Skip to content

getRandomId

@tsed/core

Usage

typescript
import { getRandomId } from "@tsed/core";

See /packages/core/src/utils/getRandomId.ts.

Overview

ts
function getRandomId(): string;

Description

Generates a random identifier string starting with 'e'.

Uses base-36 encoding of a random number to create a unique identifier.

Released under the MIT License.