@std/env

Getting Started

No install step: the module ships inside the compiler. Import what you need:

.rnx
import { Env } from "@std/env";

Quickstart

Copy this into a file or open it straight in the playground:

.rnx
import { Env } from "@std/env";

let a = Env.args();
print(a.len() > 0);
print(a[0].len() > 0);