Skip to main content
release - os - Node documentation
function release

Usage in Deno

import { release } from "node:os";
release(): string

Returns the operating system as a string.

On POSIX systems, the operating system release is determined by calling uname(3). On Windows, GetVersionExW() is used. See https://en.wikipedia.org/wiki/Uname#Examples for more information.

Return Type

string