require('os')
Class to give info about the operating system. To get an instance: require("os")
.
See: https://nodejs.org/api/os.html
platform()#
Gets the platform we are running on (eg. "win10", "darwin")
Returns: string
- the string representing the platform
release()#
Gets the release number of the os (eg. "10.0.1.1032")
Returns: string
- the string representing the release
arch()#
Gets the platform architecture we are running on (eg. "x32, x64, x86_64 etc")
Returns: string
- the string representing the architecture