GenerateOptions

import { GenerateOptions } from "jsr:@ende/uuid/v1";

interface

interface GenerateOptions

Options for generate.

Properties

node

node?: number[]

An array of 6 bytes that represents a 48-bit IEEE 802 MAC address.

See also

clockseq

clockseq?: number

A 14-bit value used to avoid duplicates that could arise when the clock is set backwards in time or if the node ID changes (0 - 16383).

See also

msecs

msecs?: number

The number of milliseconds since the Unix epoch (January 1, 1970).

See also

nsecs

nsecs?: number

The number of nanoseconds to add to GenerateOptions.msecs (0 - 10,000).

See also

random

random?: number[]

An array of 16 random bytes (0 - 255).

rng

rng?: () => number[]

A function that returns an array of 16 random bytes (0 - 255). Alternative to GenerateOptions.random.

Source