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');
+5
View File
@@ -57,6 +57,11 @@
</tr>
</thead>
<tbody>
<tr>
<th scope="row">5.11.16</th>
<td>2022-05-11</td>
<td><span class="code">docs</span> updated <span class="code">tests</span> added node 18</td>
</tr>
<tr>
<th scope="row">5.11.15</th>
<td>2022-05-11</td>
+1 -1
View File
@@ -170,7 +170,7 @@
<img class="logo" src="assets/logo.png">
<div class="title">systeminformation</div>
<div class="subtitle"><span id="typed"></span>&nbsp;</div>
<div class="version">New Version: <span id="version">5.11.15</span></div>
<div class="version">New Version: <span id="version">5.11.16</span></div>
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
</div>
<div class="down">