Generate multiple versions of universally unique identifiers (uuid) [ v1, v4, v6, v7 ]. Validate any version of uuid and convert v1 to v6 (and viceversa), all in one place
v1 - concatenates the 48-bit MAC address of the computer generating the UUID with a 60-bit timestamp.
v4 - randomly generated.
v6 - same as v1 except all timestamp bits are ordered from most significant to least significant.
v7 - begins with a 48 bit big-endian Unix Epoch timestamp with approximately millisecond granularity.
More info: Wikipedia
Copyright © 2025 - utilitystack.dev