Skip to content

Releases: puid/JavaScript

v2.2.0

07 Sep 15:55

Choose a tag to compare

Added

  • Add ete function for entropy transform effeciency calc
  • Add numerous character sets

Notes

  • No runtime/library code changes in this release

2.1.1

29 Aug 15:49

Choose a tag to compare

Build/Release

  • Enable npm provenance by publishing from GitHub Actions with OIDC
  • Add release workflow to publish on tag pushes (Yarn install/test, npm publish --provenance)
  • No code changes vs 2.1.0

puid-js 2.0.0

28 Aug 13:38

Choose a tag to compare

Full Changelog: 1.3.0...2.0.0

puid-js 1.1.0

28 Jul 19:09

Choose a tag to compare

puid 1.1.0

The README file provides detailed overview of puid-js usage and motivation.

Additions:

  • Chars.Symbol characters and encoder
  • Chars.AlphanumLower and Chars.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

28 Jul 19:02

Choose a tag to compare

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