Nanoid v2.0.3 API Reference
Modules
Elixir port of NanoID ( https://github.com/ai/nanoid ), a tiny, secure URL-friendly unique string ID generator.
Configuration module used by NanoID generators to get the required configuration.
Generate an URL-friendly unique ID. This method use the non-secure, predictable random generator. By default, the ID will have 21 symbols with a collision probability similar to UUID v4.
Generate a secure URL-friendly unique ID. This method uses the secure and non predictable random generator. By default, the ID will have 21 symbols with a collision probability similar to UUID v4.