updated docs

This commit is contained in:
Sebastian Hildebrandt 2024-07-31 06:07:04 +02:00
parent 78db2e8d29
commit 9a10cf4c1b
6 changed files with 15 additions and 8 deletions

View File

@ -83,6 +83,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
| Version | Date | Comment | | Version | Date | Comment |
| ------- | ---------- | --------------------------------------------------------------------------------------------------- | | ------- | ---------- | --------------------------------------------------------------------------------------------------- |
| 5.23.1 | 2024-07-31 | `disklayout()` updated docs (macOS) |
| 5.23.0 | 2024-07-31 | `usb()` added serialNumber (linux) | | 5.23.0 | 2024-07-31 | `usb()` added serialNumber (linux) |
| 5.22.11 | 2024-06-10 | `osInfo()` added macOS Sequoia | | 5.22.11 | 2024-06-10 | `osInfo()` added macOS Sequoia |
| 5.22.10 | 2024-05-31 | `powerShellStart()` fixed kill issue | | 5.22.10 | 2024-05-31 | `powerShellStart()` fixed kill issue |

View File

@ -29,7 +29,7 @@
[![MIT license][license-img]][license-url] [![MIT license][license-img]][license-url]
## The Systeminformation Project ## The Systeminformation Project
This is amazing. Started as a small project just for myself, it now has > 15,000 lines of code, > 600 versions published, up to 8 mio downloads per month, > 220 mio downloads overall. #1 NPM ranking for backend packages. Thank you to all who contributed to this project! This is amazing. Started as a small project just for myself, it now has > 15,000 lines of code, > 600 versions published, up to 8 mio downloads per month, > 300 mio downloads overall. #1 NPM ranking for backend packages. Thank you to all who contributed to this project!
## Please support this project ... ☕️ ## Please support this project ... ☕️
@ -475,7 +475,7 @@ Full function reference with examples can be found at [https://systeminformation
| | [0].sectorsPerTrack | | | | X | | sectors per track | | | [0].sectorsPerTrack | | | | X | | sectors per track |
| | [0].firmwareRevision | X | | X | X | | firmware revision | | | [0].firmwareRevision | X | | X | X | | firmware revision |
| | [0].serialNum | X | | X | X | | serial number | | | [0].serialNum | X | | X | X | | serial number |
| | [0].interfaceType | X | | | X | | SATA, PCIe, ... | | | [0].interfaceType | X | | X | X | | SATA, PCIe, ... |
| | [0].smartStatus | X | | X | X | | S.M.A.R.T Status (see Known Issues) | | | [0].smartStatus | X | | X | X | | S.M.A.R.T Status (see Known Issues) |
| | [0].temperature | X | | | | | S.M.A.R.T temperature | | | [0].temperature | X | | | | | S.M.A.R.T temperature |
| | [0].smartData | X | | | X | | full S.M.A.R.T data from smartctl<br>requires at least smartmontools 7.0 | | | [0].smartData | X | | | X | | full S.M.A.R.T data from smartctl<br>requires at least smartmontools 7.0 |

View File

@ -222,7 +222,7 @@
<td>[0].interfaceType</td> <td>[0].interfaceType</td>
<td>X</td> <td>X</td>
<td></td> <td></td>
<td></td> <td>X</td>
<td>X</td> <td>X</td>
<td></td> <td></td>
<td>SATA, PCIe, ...</td> <td>SATA, PCIe, ...</td>

View File

@ -57,6 +57,11 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr>
<th scope="row">5.23.1</th>
<td>2024-07-31</td>
<td><span class="code">disklayout()</span> updated docs</td>
</tr>
<tr> <tr>
<th scope="row">5.23.0</th> <th scope="row">5.23.0</th>
<td>2024-07-31</td> <td>2024-07-31</td>

View File

@ -170,7 +170,7 @@
<img class="logo" src="assets/logo.png" alt="logo"> <img class="logo" src="assets/logo.png" alt="logo">
<div class="title">systeminformation</div> <div class="title">systeminformation</div>
<div class="subtitle"><span id="typed"></span>&nbsp;</div> <div class="subtitle"><span id="typed"></span>&nbsp;</div>
<div class="version">New Version: <span id="version">5.23.0</span></div> <div class="version">New Version: <span id="version">5.23.1</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> <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>
<div class="down"> <div class="down">
@ -204,7 +204,7 @@
</div> </div>
<div class="row number-section"> <div class="row number-section">
<div class="col-xl-4 col-lg-4 col-md-4 col-12"> <div class="col-xl-4 col-lg-4 col-md-4 col-12">
<div class="numbers">15,877</div> <div class="numbers">15,884</div>
<div class="title">Lines of code</div> <div class="title">Lines of code</div>
</div> </div>
<div class="col-xl-4 col-lg-4 col-md-4 col-12"> <div class="col-xl-4 col-lg-4 col-md-4 col-12">
@ -212,7 +212,7 @@
<div class="title">Downloads last month</div> <div class="title">Downloads last month</div>
</div> </div>
<div class="col-xl-4 col-lg-4 col-md-4 col-12"> <div class="col-xl-4 col-lg-4 col-md-4 col-12">
<div class="numbers">703</div> <div class="numbers">722</div>
<div class="title">Dependents</div> <div class="title">Dependents</div>
</div> </div>
</div> </div>

View File

@ -35,7 +35,7 @@ function getLinuxUsbType(type, name) {
else if (str.indexOf('keyboard') >= 0) { result = 'Keyboard'; } else if (str.indexOf('keyboard') >= 0) { result = 'Keyboard'; }
else if (str.indexOf('mouse') >= 0) { result = 'Mouse'; } else if (str.indexOf('mouse') >= 0) { result = 'Mouse'; }
else if (str.indexOf('stora') >= 0) { result = 'Storage'; } else if (str.indexOf('stora') >= 0) { result = 'Storage'; }
else if (str.indexOf('mic') >= 0) { result = 'Microphone'; } else if (str.indexOf('microp') >= 0) { result = 'Microphone'; }
else if (str.indexOf('headset') >= 0) { result = 'Audio'; } else if (str.indexOf('headset') >= 0) { result = 'Audio'; }
else if (str.indexOf('audio') >= 0) { result = 'Audio'; } else if (str.indexOf('audio') >= 0) { result = 'Audio'; }
@ -109,7 +109,7 @@ function getDarwinUsbType(name) {
else if (name.indexOf('usbhub') >= 0) { result = 'Hub'; } else if (name.indexOf('usbhub') >= 0) { result = 'Hub'; }
else if (name.indexOf(' hub') >= 0) { result = 'Hub'; } else if (name.indexOf(' hub') >= 0) { result = 'Hub'; }
else if (name.indexOf('mouse') >= 0) { result = 'Mouse'; } else if (name.indexOf('mouse') >= 0) { result = 'Mouse'; }
else if (name.indexOf('mic') >= 0) { result = 'Microphone'; } else if (name.indexOf('microp') >= 0) { result = 'Microphone'; }
else if (name.indexOf('removable') >= 0) { result = 'Storage'; } else if (name.indexOf('removable') >= 0) { result = 'Storage'; }
return result; return result;
} }
@ -182,6 +182,7 @@ function getWindowsUsbTypeCreation(creationclass, name) {
else if (creationclass.indexOf('usbcontroller') >= 0) { result = 'Controller'; } else if (creationclass.indexOf('usbcontroller') >= 0) { result = 'Controller'; }
else if (creationclass.indexOf('keyboard') >= 0) { result = 'Keyboard'; } else if (creationclass.indexOf('keyboard') >= 0) { result = 'Keyboard'; }
else if (creationclass.indexOf('pointing') >= 0) { result = 'Mouse'; } else if (creationclass.indexOf('pointing') >= 0) { result = 'Mouse'; }
else if (creationclass.indexOf('microp') >= 0) { result = 'Microphone'; }
else if (creationclass.indexOf('disk') >= 0) { result = 'Storage'; } else if (creationclass.indexOf('disk') >= 0) { result = 'Storage'; }
return result; return result;
} }