We are using a lot Deno.build.os === "windows" though we have cleaner solution for our code.
We have our own wrapper
|
export function isWindows() { |
|
return Deno.build.os === "windows"; |
|
} |
and there is one also in https://deno.land/std@0.166.0/_util/os.ts
I believe this would be beneficial for our code to be simpler with less duplication