StaticOS_StaticOS_StaticOS_StaticgetReturns a formatted platform string for use in constructing download URLs or file paths.
For Windows, it returns 'windows' instead of 'win32' to match common naming conventions in download URLs.
For other platforms, it returns the original process.platform value.
StaticgetReturns the current Node.js process.platform value as a string.
This should only be used for logging or error messages to indicate the detected platform.
StaticisReturns true if the Node.js process.platform is darwin, false otherwise.
StaticisReturns true if the Node.js process.platform is linux, false otherwise.
StaticisReturns true if the Node.js process.platform is win32, false otherwise.
Utility class for determining the operating system platform. Provides methods to check if the current OS is Windows, Linux, or macOS.