variable / @typed/id

oidUuid5

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

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

Import

import { oidUuid5 } from "@typed/id";

Signatures

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

Why

The pre-bound helper prevents accidental namespace selection drift for object identifiers.

Ownership and lifetime

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

Examples

import { oidUuid5 } from "@typed/id/Uuid5"
const id = oidUuid5("1.3.6.1.4.1")

Other public imports

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

Source