docs updated, tests added node 18

This commit is contained in:
Sebastian Hildebrandt
2022-05-30 05:24:39 +02:00
parent af8e2e9e4c
commit e1765d1c38
6 changed files with 28 additions and 5 deletions
+3 -1
View File
@@ -69,7 +69,9 @@
<p>This library is supposed to be used as a <a href="https://nodejs.org/en/" rel="nofollow">node.js</a> backend/server-side library and will definitely not work within a browser.</p>
<h2>Installation</h2>
<pre>$ npm install systeminformation --save</pre>
<pre>$ npm install systeminformation --save</pre>
<p>or simpler:</p>
<pre>$ npm install systeminformation</pre>
<h2>Usage</h2>
<p>All functions (except <span class="code">version</span> and <span class="code">time</span>) are implemented as asynchronous functions. Here a small example how to use them:</p>
<pre><code class="js">const si = require('systeminformation');