JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q12296F
  • License MPL-2.0

32-character RFC 4648 lowercase Base32 IDs

Package Exports

  • id32
  • id32/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (id32) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ID32

No more ugly IDs!

ID32s look like: m6ov3liumm6trqulojtj6yselragllbg

  • 32 lowercase characters of RFC 4648 Base32 (a-z2-7)
    • represents 20 bytes (160 bits) of randomness
  • Easily double-clickable (no hyphens or underscores)
    • NanoID: 0klp0QFYiS_dOUzhF-y_g
    • UUID: 10dd71ca-6030-407b-89a4-55c4e11006cd
    • ID32: trhfnnxkrotlcc3gluyl4mqr6aomt4e7

The code is essentially the same as Nanoid, and is available for Javascript, Python and Rust.

Installation

npm install id32

Usage

import id32 from 'id32'

id32() //-> h3uu3spo3skwzidi62gk6vzfr4ifxsf3