docs updated, tests added node 18
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user