mirror of
https://github.com/m-lamonaca/dev-notes.git
synced 2025-04-06 19:06:41 +00:00
477 B
477 B
OS Module
Information
os.arch(); // CPU Architecture
os.platform(); // OS platform (aix, darwin, freebsd, linux, openbsd, sunos, win32)
os.type(); // OS name (Linux, Windows_NT, )
os.release(); // OS release number
os.version(); // OS kernel version
os.tmpdir(); // OS Temp directory
os.homedir(); // CUrrent user home directory
os.hostname(); // PC Name
os.cpus(); // Array of CPU info
os.networkInterfaces(); // Array of Network Interfaces info