Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
function platform
import { platform } from "https://deno.land/x/denjucks@1.1.1/src/deps/path/std/node/os.ts";

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