Measured across formats
Compare generation throughput and per-entry bundle sizes in the isolated-process CI benchmark.
Eleven type-safe strategies. One API.
uniku puts UUID v4/v5/v7, ULID, TypeID, CUID v2, Nanoid, KSUID, ObjectID, XID, and TSID behind one consistent API. Each generator has a direct entry point, with published compatibility and performance measurements.
import { uuidv7 } from 'uniku/uuid/v7'const id = uuidv7()
019b8f1e-70d4-7c5a-b7d2-18f5cc7b95f001JPNBWW9Q54Y5DVXR8F11H3TMuser_01h2xcejqtf2nbrexx3vqjhp41Pick the shape your system needs. Your runtime pays only for the generator you import.
Compare generation throughput and per-entry bundle sizes in the isolated-process CI benchmark.
Each direct entry point exposes a callable generator with matching typed helpers.
Built on web standards, tested end to end across all major JavaScript runtimes.
The CLI companion
Install @uniku/cli when the ID belongs in a shell script, a migration, or a debugging session.
uniku uuid -v 7Explore the CLI
Start here