Releases: puid/JavaScript
puid-js 1.1.0
puid
1.1.0
The README file provides detailed overview of puid-js usage and motivation.
Additions:
Chars.Symbol
characters and encoderChars.AlphanumLower
andChars.AlphanumUpper
encoders
Chars
encoders provided optimized puid
generation for each pre-defined character set.
Fixes:
Chars.SafeAscii
encoder
The version bump to 1.1.0
was due to this fix.
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