Skip to content

Latest commit

 

History

History
33 lines (14 loc) · 535 Bytes

File metadata and controls

33 lines (14 loc) · 535 Bytes

OS

See: https://nodejs.org/api/os.html

os.platform()

Gets the platform we are running on (eg. "win10", "darwin")

Returns: string - the string representing the platform

os.release()

Gets the release number of the os (eg. "10.0.1.1032")

Returns: string - the string representing the release