variable / @typed/id/Uuid5

urlUuid5

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

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

Import

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

Signatures

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

Why

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

Ownership and lifetime

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

Examples

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

Other public imports

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

Source