slugid: ^1.1.0 copied to clipboard
A URL-safe base64 encoding for UUIDv4 stripped of padding. Useful when embedding short random UUIDs in URLs.
Slugid - Compressed UUIDv4 #
Disclaimer: This is not an officially supported Google product.
Examples of slugids:
There are two variants of slugids:
Slugid.v4()variant, which is a random UUID v4.
Slugid.nice()variant, which is a random UUID v4 selected such that the slugid encoding doesn't start with