std
nanoid(length) -> id
length
id
Generate a compact random ID (nanoid)
Generates a URL-safe random ID using alphanumeric characters plus - and _. Default length is 21 characters. Port of https://github.com/ai/nanoid.
-
_