UUIDs
How it works
Generates UUID v4 (random) identifiers using the Web Crypto API
(crypto.randomUUID())
for cryptographic randomness.
- Format:
xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx - The
4indicates version 4 (random) - The
yis one of 8, 9, a, or b (variant 1) - 2122 possible UUIDs — collision is practically impossible
Want to learn more?
Read the complete guide with examples and tips