cpuTemperature() optimized parsing linux

This commit is contained in:
Sebastian Hildebrandt
2020-05-01 10:23:23 +02:00
parent 894cd355b3
commit 6b19ac674f
5 changed files with 81 additions and 45 deletions
+1 -1
View File
@@ -508,7 +508,7 @@ si.cpuCurrentspeed().then(data => console.log(data));</code></pre class="example
<td colspan="7">
<h5>Example</h5>
<pre><code class="js">const si = require('systeminformation');
si.cpuCurrentspeed().then(data => console.log(data));</code></pre class="example">
si.cpuTemperature().then(data => console.log(data));</code></pre class="example">
<pre class="example">
{ main: 42, cores: [], max: 42 }
</pre>