miniblog.
← Back to all posts
Wilfred Hughes
Jul 3, 2020 at 18:51
physical-cpu-count is a lovely example of small packages on npm doing one thing well. It's a cross-platform solution with clearly discussed limitations and design decisions regarding hyperthreading.
https://www.npmjs.com/package/physical-cpu-count
Just a moment...