OS info in nodeJS
The os module provides operating system-related utility methods and properties
const os = require('os'); const os = require('os'); console.log(os.type()); console.log(os.release()); console.log(os.platform()); console.log(os.hostname()); console.log(os.version()); // Darwin // 20.2.0 // darwin // Darwin Kernel Version 20.2.0