A ULID implementation in Nim!
Go to file
2023-10-27 20:39:47 +01:00
.github/workflows Push new workflow, fix tests, edit README 2023-10-27 20:39:47 +01:00
src Push new workflow, fix tests, edit README 2023-10-27 20:39:47 +01:00
tests Push new workflow, fix tests, edit README 2023-10-27 20:39:47 +01:00
.gitignore Fixed doc gen 2023-10-07 23:58:33 +01:00
nulid.nimble New library version, rename NULID* types to ULID, remove async code (useless), add a lock and make threadsafe 2023-10-26 14:13:01 +01:00
README.md Push new workflow, fix tests, edit README 2023-10-27 20:39:47 +01:00

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