Skip to main content
Module

x/sdeno/deps.ts>os.platform

Steno on Deno. Specialized fast async file writer.
Go to Latest
function os.platform
import { os } from "https://deno.land/x/sdeno@v1.0.17/deps.ts";
const { platform } = os;

Returns the a string identifying the operating system platform. The value is set at compile time. Possible values are 'darwin', 'linux', and 'win32'.

Returns

string