Node.js Manual & Documentation


Table Of Contents


os Module

Use require('os') to access this module.

os.getHostname()

Returns the hostname of the operating system.