cpu-count The cpu-count example exposes a single function named get that returns the number of CPUs on the current platform. Usage const cpuCount = require("."); console.log(cpuCount.get());