Nodejs получают количество процессоров

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