@std/os

Getting Started

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

.rnx
import { OS } from "@std/os";

Quickstart

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

.rnx
import { OS } from "@std/os";


print(OS.platform(), OS.arch());
print(OS.cpuCount());
print(OS.tmpdir());