availableParallelism
Method: os.availableParallelism()
Returns the number of logical CPUs available to the Node.js instance.
Return
The number of logical CPUs available to the Node.js instance.
os.availableParallelism()
Returns the number of logical CPUs available to the Node.js instance.
The number of logical CPUs available to the Node.js instance.