import { Deno } from "https://deno.land/x/deno@v1.0.0/cli/js/lib.deno.unstable.d.ts";
const { osRelease } = Deno;
Returns the release version of the Operating System.
console.log(Deno.osRelease());
Requires allow-env
permission.
Unstable new API maybe move to Deno.build or Deno.versions? Depends on sys-info, which we don't necessarally want to depend on.