mirror of
https://github.com/Yu-Vitaqua-fer-Chronos/NULID.git
synced 2024-11-21 22:12:46 +00:00
350 B
350 B
NULID
This is an implementation of the ULID spec in Nim!
Random fun fact: I coded the initial code for ULID generation on my phone via Termux!
Compile Flags
-d:nulidInsecureRandom
: Uses std/random
instead of std/sysrand
.
Usage
let gen = initUlidGenerator()
let ulid = gen.ulid()
echo ulid