@felipebutcher/node-os-info
When I needed to get memory, cpu and disk information on NodeJS, I ended up looking for answers on stackoverflow and using multiple packages with some code. I am putting all together here.
ua-parser-js
Detect Browser, Engine, OS, CPU, and Device type/model from User-Agent & Client Hints data. Supports browser & node.js environment
cpu-features
A simple binding to Google's cpu_features library for obtaining information about installed CPU(s)
pidusage
Cross-platform process cpu % and memory usage of a PID