short-animal-id
Generates short ids with animal name prefixes. This strives for easily pronunciable and short IDs.
NOTE: This package is not cryptographically random, nor are IDs guaranteed to be unique.
Import
;let animalId numericId alphanumericId = idGenerators;
Examples
Example adding multiple ids together
console;/**Crane0_P06HSandpiper3_6XzsSquid6_uPFLTurkey8_ndIGPheasant4_Jdm6*/
API
animalId()
;/**GrouseOryxRavenSquidDinosaur*/
numericId(length)
length (1 by default)
;/**734254408672211560044299714564*/
alphanumericId(length, includeUppercase)
length (1 by default)
includeUppercase (false by default)
;/**vh1oh361fbbhgm5itc64*/