2 ms·
I have been using NanoID in JS, and it works well. It also has a variant that will check for rude words, in case the identifier is particularly user-visible. h
by tdeck 6y ago
I have been using NanoID in JS, and it works well. It also has a variant that will check for rude words, in case the identifier is particularly user-visible.
https://github.com/ai/nanoid https://github.com/ai/nanoid
It has a nice calculator for collision probability as well.