1.0.0
puid-js
1.0.0
puid
provides simple, flexible and efficient generation of probably unique identifiers (puid
, aka random strings) of intuitively specified entropy using pre-defined or custom characters (including Unicode).
The README
file provides detailed overview of puid-js
usage and motivation.
tl;dr
-
Ease
Random ID generator specified in one line of code -
Flexible
Full control over entropy source, ID characters and amount of ID randomness -
Explicit
Clear specification of chosen level of randomness -
Efficient
Maximum use of system entropy -
Compact
ID strings represent maximum entropy for characters used -
Secure
Defaults to a secure source of entropy and at least 128 bits of ID entropy