Skip to content

getCpu

Requires a Node.js runtime ('qsu/node')

This function returns the name of the CPU currently used by the system. Depending on the OS, the name may be incorrect or may not be retrievable.

Parameters

No required parameters

Returns

string

Examples

javascript
console.log(await getCpu()); // e.g. 'Apple M1'...

Released under the MIT License