Options
All
  • Public
  • Public/Protected
  • All
Menu

scru160

SCRU160: Sortable, Clock and Random number-based Unique identifier

license

Apache-2.0

copyright

2021 LiosK

Index

Functions

Const scru160

  • scru160(): string
  • Generates a new SCRU160 ID encoded in the base32hex format.

    Returns string

    32-character base32hexupper string (/^[0-9A-V]{32}$/).

Const scru160f

  • scru160f(): string
  • Generates a new SCRU160 ID encoded in the hexadecimal format.

    Returns string

    40-character hexadecimal string (/^[0-9a-f]{40}$/).

Generated using TypeDoc