os.cpus in typescript code example Example: get platform node const os = require('os'); console.log('Platform: ${os.platform()}');