Skip to content

Files

Latest commit

43f4cf4 · Jan 29, 2024

History

History

cpu-count

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
May 18, 2021
Jan 29, 2024
May 18, 2021
May 18, 2021

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());