Enums§
- Cuid
Error - Error type for CUID generation and validation
Constants§
- DEFAULT_
LENGTH - Default length for generated CUIDs
- MAX_
LENGTH - Maximum length for generated CUIDs
- MIN_
LENGTH - Minimum length for valid CUIDs
Functions§
- generate
- Generate a CUID with the default length
- generate_
cuid - Generates a unique identifier similar to CUID2.
- is_
valid_ cuid - Validates whether a given ID conforms to CUID2 format.
Type Aliases§
- Result
- Result type for CUID operations