Skip to content

Quick Start

Add lockfree to your .nimble file or install via Nimble:

Terminal window
nimble install lockfree

Import the package in your Nim code:

src/main.nim
import lockfree
echo hello()
graph LR
    User[Developer / Caller] --> API[lockfree API]
    API --> Core[Internal Logic]
    Core --> Result[Return Value]

Use just as the canonical command runner:

Terminal window
just test # Run full test suite
just lint # Run pre-commit & formatting checks
just fmt # Auto-format with nph
just docs # Launch local documentation server