versions() fix getting all versions

This commit is contained in:
Sebastian Hildebrandt
2019-07-02 15:50:56 +02:00
parent 310b138de1
commit 0aee4d6684
5 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ si.cpu()
.then(data => console.log(data))
.catch(error => console.error(error));
</code></pre>
<h2>Callback, Promises, Awync Await</h2>
<h2>Callback, Promises, Async Await</h2>
<p>Remember: all functions (except <span class="code">version</span> and <span class="code">time</span>) are implemented as asynchronous functions! There are now three ways to consume them:</p>
<p><strong>Callback Style</strong></p>
<pre><code class="js">const si = require('systeminformation');