Skip to content

@loontail/minecraft-kit v0.5.0 / NODE_PLATFORM_TO_MOJANG_OS

Variable: NODE_PLATFORM_TO_MOJANG_OS

ts
const NODE_PLATFORM_TO_MOJANG_OS: {
  darwin: "osx";
  linux: "linux";
  win32: "windows";
};

Mapping from Node's process.platform to Mojang OS names.

Type declaration

MemberTypeValue
darwin"osx""osx"
linux"linux""linux"
win32"windows""windows"

Source

src/constants/platform.ts:4

MIT License