Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ayonli_jsext/lib.deno.d.ts>Deno.osRelease

A JavaScript extension package for building strong and modern applications.
Latest
function Deno.osRelease
allow-sys
import { Deno } from "https://deno.land/x/ayonli_jsext@v0.9.72/lib.deno.d.ts";
const { osRelease } = Deno;

Returns the release version of the Operating System.

console.log(Deno.osRelease());

Requires allow-sys permission. Under consideration to possibly move to Deno.build or Deno.versions and if it should depend sys-info, which may not be desirable.

Returns

string