Champ · Nanoid
Champ · Nanoid · string.nanoid. Méthode de génération · Exemple
string.nanoid
Options du générateur
Générez des données pour les voir ici.
Paramètres & Exemple
Generates a Nano ID.
string.nanoid(length?: NumberOrRange)- length
- The length of the string to generate either as a fixed length or as a length range. Defaults to 21.
- length.min
- The minimum length of the Nano ID to generate.
- length.max
- The maximum length of the Nano ID to generate.
Exemple
"84qQaJQVGu_hxE7mLzcJb"Utilisez des données synthétiques dans un environnement de test.