cuid package - kwoulid
cuid uuid cuid> : Pearcy, P , Sequential UUID Flake ID generator pulled out of elasticsearch common, Commit dd71c21, January 2015 Aspect cuid Use cuid as a The service provider runtimes automatically fill in UUID-typed keys like these with auto-generated UUIDs
Should you pick the tried-and-true int or go with the scalable UUID? Or maybe something like a CUID or NanoId would be a better fit for you Sonyflake, CUID, nanoId, xid, ULID, UUIDv4, UUIDv1 Best for, Lightweight Smaller binary size than UUID or ULID could improve performance on huge databases
A UUID is a Universally Unique Identifier and it is, for practical purposes, unique This makes them particularly well suited as Primary Keys A CUID is a method of creating a unique identifier that was developed by Eric Elliott