Skip to content

Releases: abir-taheer/mint-id

v1.0.2

Choose a tag to compare

@abir-taheer abir-taheer released this 04 Apr 04:39

Fix

  • Add typesVersions fallback so mint-id/extended types resolve under older moduleResolution settings (e.g. node).

v1.0.1

Choose a tag to compare

@abir-taheer abir-taheer released this 14 Feb 05:46

Fixed

  • Remove misconfigured SBOM attestation step from publish workflow

v1.0.0

Choose a tag to compare

@abir-taheer abir-taheer released this 14 Feb 05:42

mint-id v1.0.0

Cryptographically secure identifiers using single-token dictionary words. Zero runtime dependencies. Works in Node, Cloudflare Workers, Deno, and browsers.

Features

  • mintId() — generate CSPRNG identifiers from single-token words
  • entropy() — calculate entropy for any configuration
  • wordlist() — access raw wordlists
  • Model-aware — optimize for Claude, GPT-4, GPT-4o, GPT-2, or use the universal wordlist
  • mint-id/extended — tree-shakeable extended entry point with maxTokens support (234k words)
  • 12 words / ~133 bits entropy by default (exceeds UUID v4)
  • Dual CJS/ESM output
  • Custom error classes (UnknownModelError, UnknownTokenizerError, EmptyWordlistError)

Runtime Compatibility

No fs — pure JS modules. Works in Node >= 14.10, Cloudflare Workers, Deno, and Bun.