Skip to main content
Module

x/ui7/mod.ts>FormatOptions

Generate UUIDv7 identifiers in JavaScript (or TypeScript)
Latest
interface FormatOptions
import { type FormatOptions } from "https://deno.land/x/ui7@v0.2.3/mod.ts";

Configures how a generated UUID is formatted.

Properties

optional
dashes: boolean

true to include dashes in the UUID; false to omit them. (default: true)

optional
upper: boolean

Capitalize the A-F characters in the UUID. (default: false)

optional
version: 7 | 8

Set the version field of the UUID. (default: 7)