This library is in flux. APIs may change without notice. Generated from source with koruc 0.1.7 on 8/19/2026.
Env
~import std/envstd/env - Environment variable access
env.kz · 4 tors
std/env - Environment variable access
Simple, safe access to environment variables.
// Get environment variable
~pub tor get { name: string }
| ok string
| not-setget.or
koru_std/env.kz:23// Get with default value
~pub tor get.or { name: string, default: string } -> stringis-set
koru_std/env.kz:31// Check if variable is set
~pub tor is-set { name: string }
| yes
| norequire
koru_std/env.kz:43// Require - fail loudly if not set (for critical config)
~pub tor require { name: string }
| ok string
| missing string