shortuuid
shortuuid copied to clipboard
add: support different basis types for id generation
This PR introduces support of different basis types for id generation (not only UUIDv4 and UUIDv5 that is hardcoded now). Package API was extended with new functions with basis type in arguments. Signatures and logic of existing public functions was not modified.
Thanks! I'm on parental leave at the moment, so it might take some time before I get around reviewing.