2.0.0 • Published 8 months ago
id32 v2.0.0
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