Skip to content

getRamSize

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

Retrieves the total RAM size of the current device. Returns it as readable text including the unit. Decimal places are rounded up.

Parameters

No required parameters

Returns

string

Examples

javascript
console.log(getRamSize()); // Returns '8 GB'

Released under the MIT License