const os = require('os'); // Platform ex.linux console.log(os.platform()); // CPU Architecture console.log(os.arch()); // CPU Core Info console.log(os.cpus()); // Free memory console.log(os.freemem()); // Total memory console.log(os.totalmem()); // Home directory console.log(os.homedir()); // Uptime console.log(os.uptime());
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter