Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "uid"

Index

Variables

Functions

Variables

Let counter

counter: number = 1

Functions

random

  • random(): string
  • Generates a random unique id.

    Returns string

sequential

  • sequential(): number
  • Generates an autoincrementing unique id.

    Returns number

Generated using TypeDoc