Standard Library

Nyx comes with a comprehensive standard library. All modules are tree-shakeable.

ModuleDescription
std.ioConsole I/O, file descriptors
std.fsFile system: read, write, directories
std.httpHTTP/1.1 & HTTP/2 client and server
std.jsonJSON parsing and serialization
std.cryptoHashing (SHA256, MD5), encryption
std.netTCP/UDP sockets
std.dbSQLite with type-safe query builder
std.uiCross-platform widget toolkit (Skia)
std.mathNumerics, vectors, matrices
std.concurrencyChannels, mutex, actors
std.testTesting framework with assertions
std.processExternal command execution
std.envEnvironment variables, CLI args
std.pathPath manipulation
std.encodingBase64, hex, UTF-8 validation
std.regexRegular expressions
std.visionComputer vision (OpenCV bindings)
std.graphicsVulkan graphics bindings
std.mlMachine learning tensor ops
std.gisGeospatial data processing
std.audioAudio playback