Releases: abir-taheer/mint-id
Releases · abir-taheer/mint-id
Release list
v1.0.2
v1.0.1
Fixed
- Remove misconfigured SBOM attestation step from publish workflow
v1.0.0
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 wordsentropy()— calculate entropy for any configurationwordlist()— 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 withmaxTokenssupport (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.