Options
All
  • Public
  • Public/Protected
  • All
Menu

Module UUID

The namespace for UUID related functionality.

Index

Variables

Variables

Const uuid4

uuid4: function = uuid4Factory(Random.getRandomValues)

A function which generates UUID v4 identifiers. A function which generates UUID v4 identifiers.

returns

A new UUID v4 string.

Notes

This implementation complies with RFC 4122.

This uses Random.getRandomValues() for random bytes, which in turn will use the underlying crypto module of the platform if it is available. The fallback for randomness is Math.random.

returns

A new UUID v4 string.

Notes

This implementation complies with RFC 4122.

This uses Random.getRandomValues() for random bytes, which in turn will use the underlying crypto module of the platform if it is available. The fallback for randomness is Math.random.

Type declaration

    • (): string
    • Returns string

Generated using TypeDoc