Skip to content

Std.Env

effect Env

The environment variables of the process.

  • fn get(name: String) -> Option[String]

    None if the variable is not set.

handler SystemEnv: Env
uses { ProcessHost }

The host’s environment variables (JS process.env, C getenv).