updated docs

This commit is contained in:
Sebastian Hildebrandt 2020-04-20 11:14:45 +02:00
parent 8ea8110355
commit 56be6702b0
3 changed files with 7 additions and 2 deletions

View File

@ -30,7 +30,7 @@
[![Sponsoring][sponsor-badge]][sponsor-url]
[![MIT license][license-img]][license-url]
This is amazing. Started as a small project just for myself, it now has > 9,000 lines of code, > 300 versions published, up to 1 mio downloads per month, > 6 mio downloads overall. Thank you to all who contributed to this project!
This is amazing. Started as a small project just for myself, it now has > 9,000 lines of code, > 300 versions published, > 1 mio downloads per month, > 9 mio downloads overall. Thank you to all who contributed to this project!
## New Version 4.0

View File

@ -168,7 +168,7 @@
<img class="logo" src="assets/logo.png">
<div class="title">systeminformation</div>
<div class="subtitle"><span id="typed"></span></div>
<div class="version">Current Version: <span id="version">4.23.3</span></div>
<div class="version">Current Version: <span id="version">4.23.4</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">

View File

@ -713,6 +713,11 @@ si.inetChecksite('google.com').then(data => console.log(data));</code></pre clas
si.inetLatency().then(data => console.log(data));</code></pre class="example">
<pre class="example">
13.484</pre>
<pre><code class="js">// Example with given host IP address
const si = require('systeminformation');
si.inetLatency('216.58.207.142').then(data => console.log(data));</code></pre class="example">
<pre class="example">
11.291</pre>
</tr>
</tbody>
</table>