Documentation
¶
Overview ¶
Package id generates time-ordered entity identifiers: a UUIDv7 (RFC 9562) rendered as 26-character Crockford base32. The leading 48 bits are a big-endian Unix-millisecond timestamp, so the encoded string sorts lexicographically by creation time (millisecond granularity), keeping storage index inserts local and giving rows a rough creation order.
The TypeScript client (`client/src/id.ts`) emits the identical format, so identifiers are uniform whether minted by a client, a trusted server-side write, or a connector.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.