Saturday, October 22, 2022

uuid base58 encode/decode

 cbschuld/uuid-base58: Generate a RFC4122 compliant v4 UUID and return it encoded in base-58. This is great for creating unique IDs which only consume 22 characters of storage. Also provides base-58 encoding and decoding. @GitHub

"Generate a RFC4122 compliant v4 UUID and return it encoded in base-58. This is great for creating unique IDs which only consume 22 characters of storage (some encodes are 21 characters). Also library also provides base-58 encoding, decoding and validation."


the same can be achieved by combination of uuid and uuid-parse libs