The klain: namespace
Node and the web give us the names to match — fs, http, crypto. The klain: namespace is where this compiler ships capabilities that have no Node or browser equivalent: bespoke, native-first reimaginings, kept behind an explicitly non-Node specifier so portable code stays portable.
klain:webview
Desktop apps over the system webview — any SPA as the frontend of a compiled binary, calling straight into native code.
Stages 0–7 shippedklain:http
The bespoke listen(handler ⇒ response) server model — a pure request→response function, no streaming res object.
klain:sync
Go-style CSP — go, typed channels, select — with real parallelism across cores. The concurrency differentiator.
Pick a module from the list on the left, or the cards above. Each is an opt-in: a program that never imports a klain: module links nothing extra and stays portable.