Skip to main content
release - node__os.d.ts - Node documentation
function release

Usage in Deno

```typescript import { release } from "node:node__os.d.ts"; ```
release(): string
Returns the operating system as a string. On POSIX systems, the operating system release is determined by calling [`uname(3)`](https://linux.die.net/man/3/uname). On Windows, `GetVersionExW()` is used. See [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for more information.

Return Type

string