NodeJs mendapatkan jumlah CPU

const os = require('os')
const cpuCount = os.cpus().length
Elated Echidna