keep-a-changelog
Version:
Node package to parse and generate changelogs following the [keepachangelog](https://keepachangelog.com/) format.
10 lines (9 loc) • 511 B
JavaScript
// deno-lint-ignore-file no-explicit-any
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
// This module is browser compatible.
// Check Deno, then the remaining runtimes (e.g. Node, Bun and the browser)
import * as dntShim from "../../../../../_dnt.shims.js";
export const isWindows = dntShim.dntGlobalThis.Deno?.build.os === "windows" ||
dntShim.dntGlobalThis.navigator?.platform?.startsWith("Win") ||
dntShim.dntGlobalThis.process?.platform?.startsWith("win") ||
false;