A library for generating ULID and utility functions.
Random generator for a single ULID at specified time.
Random generator for multilpe ULIDs at the same milisecond. The generated ULIDs have no specific sort order. We can not see use cases for generating ULIDs sortable within the same milisecond on client side apps. So Monotonicity is not supported in this packages.
Try to parse a string representation as an ULID, ie. 26 character length with valid characters of
0123456789ABCDEFGHJKMNPQRSTVWXYZ. Detect overflowing if the ULID is larger than 7ZZZZZZZZZZZZZZZZZZZZZZZZZ.
Extract the Timestamp part only.
Produce a canonical 8-4-4-4-12 UUID string form.
The variant and version indicators of converted UUID are meaningless,
so the Uuid.fromString in dandy32/elm-uuid will fail.
Try to parse an UUID string, though the timestamp is meaningless.
If it overflows Nothing value will be returned.
opaque type for ULID.
ULID is composed of a Timestamp and a Randomenss part with the following format.