variable / @typed/id/Uuid5

dnsUuid5

Derives deterministic UUID version 5 values in the standard DNS namespace.

Package version
1.0.0-beta.13
Category
ID generation
Since
1.0.0

Import

import { dnsUuid5 } from "@typed/id/Uuid5";

Signatures

export declare const dnsUuid5: (name: string) => Effect.Effect<Uuid5, Cause.IllegalArgumentError>;

Why

The pre-bound helper prevents accidental namespace selection drift for DNS identities.

Ownership and lifetime

This function acquires no persistent resources and uses a captured namespace copy for module lifetime.

Examples

import { dnsUuid5 } from "@typed/id/Uuid5"
const id = dnsUuid5("example.com")

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source