let urlAlphabet = 'ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW' ; public export let nanoid = ( size = 21 ) => { let id = '' ; let i = size ; while ( i -- ) { id += urlAlphabet [ ( Math . random ( ) * 64 ) | 0 ] ; } return id ; } ;