encoding
Hex, Base64, URL encoding, and checksum helpers. Repository
The kelvralang organization maintains a growing set of packages separately from
the runtime. They use canonical github.com/kelvralang/... imports and are
versioned independently, so check each repository’s Releases page when choosing
a version.
These packages are implemented in Kelvra and do not require a native compiler when installed.
encoding
Hex, Base64, URL encoding, and checksum helpers. Repository
json
JSON parsing, typed value access, and deterministic serialization. Repository
log
Configurable levels, filtering, and named console loggers. Repository
math
Portable numeric constants, bounds helpers, powers, and rounding. Repository
path
Cross-platform lexical path joining, normalization, and inspection. Repository
test
Assertions, equality checks, null checks, and approximate comparisons. Repository
Native packages bridge Kelvra to platform services and C/C++ libraries. A Git dependency builds them from source; configured registries may provide prebuilt artifacts for a supported target.
fs
Filesystem reads, writes, directories, copies, renames, and metadata. Repository
http
Callback-based HTTP and WebSocket servers, including binary payloads and connection-local Kelvra values. Repository
random
Seeded random generators, secure seeds, integers, booleans, and floats. Repository
time
Monotonic and Unix clocks plus millisecond and second sleeps. Repository
window
SDL2-backed windows, events, keyboard and mouse input, drawing, and text. Repository · Package guide
ecs
A Kelvra source facade over a native-performance C++ entity-component system, with schemas, worlds, entities, components, and queries. Repository
Choose a tag from the package repository, add it to your project, and import the canonical module path. For example:
kelvra add github.com/kelvralang/json@v0.2.0const json = @import("github.com/kelvralang/json")var value json.Json = json.parse("{\"language\":\"Kelvra\"}")print(json.stringify(value))kelvra add updates kelvra.toml, resolves the package, installs it, and updates
kelvra.lock. Commit the lockfile for applications.