updated docs
This commit is contained in:
+1
-1
@@ -174,7 +174,7 @@
|
||||
<td>X</td>
|
||||
<td>X</td>
|
||||
<td>X</td>
|
||||
<td>has kernal memory</td>
|
||||
<td>has kernel memory</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
|
||||
<h2>Core Concept</h2>
|
||||
<p><a href="https://nodejs.org/en/" rel="nofollow">Node.js</a> comes with some basic OS information, but I always wanted a little more. So I came up to write this
|
||||
little library. This library is still work in progress. It requires node.js version 4.0 and above.</p>
|
||||
little library. This library is still a work in progress. It requires node.js version 4.0 and above.</p>
|
||||
|
||||
<p>I was able to test it on several Debian, Raspbian, Ubuntu distributions as well as macOS (Mavericks, Yosemite, El Captain, Sierra, High Sierra, Mojave) and some Windows 7, Windows 10, FreeBSD, OpenBSD, NetBSD and SunOS machines.
|
||||
Not all functions are supported on all operating systems. Have a look at the function reference in the docs to get further details.</p>
|
||||
@@ -85,7 +85,7 @@ si.cpu()
|
||||
|
||||
si.cpu(function(data) {
|
||||
console.log('CPU Information:');
|
||||
console.log('- manufucturer: ' + data.manufacturer);
|
||||
console.log('- manufacturer: ' + data.manufacturer);
|
||||
console.log('- brand: ' + data.brand);
|
||||
console.log('- speed: ' + data.speed);
|
||||
console.log('- cores: ' + data.cores);
|
||||
@@ -102,7 +102,7 @@ si.cpu(function(data) {
|
||||
si.cpu()
|
||||
.then(data => {
|
||||
console.log('CPU Information:');
|
||||
console.log('- manufucturer: ' + data.manufacturer);
|
||||
console.log('- manufacturer: ' + data.manufacturer);
|
||||
console.log('- brand: ' + data.brand);
|
||||
console.log('- speed: ' + data.speed);
|
||||
console.log('- cores: ' + data.cores);
|
||||
@@ -118,7 +118,7 @@ async function cpuData() {
|
||||
try {
|
||||
const data = await si.cpu();
|
||||
console.log('CPU Information:');
|
||||
console.log('- manufucturer: ' + data.manufacturer);
|
||||
console.log('- manufacturer: ' + data.manufacturer);
|
||||
console.log('- brand: ' + data.brand);
|
||||
console.log('- speed: ' + data.speed);
|
||||
console.log('- cores: ' + data.cores);
|
||||
|
||||
@@ -134,7 +134,7 @@
|
||||
<td>X</td>
|
||||
<td>X</td>
|
||||
<td></td>
|
||||
<td>true if dynamicly allocated ram</td>
|
||||
<td>true if dynamically allocated ram</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
@@ -354,7 +354,7 @@
|
||||
<td>X</td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>true if built in monitor</td>
|
||||
<td>true if built-in monitor</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
|
||||
@@ -364,7 +364,7 @@ si.currentLoad().then(data => console.log(data));</code></pre class="example">
|
||||
<td>X</td>
|
||||
<td>X</td>
|
||||
<td>X</td>
|
||||
<td>process priotity</td>
|
||||
<td>process priority</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
|
||||
+2
-2
@@ -124,7 +124,7 @@
|
||||
<td>X</td>
|
||||
<td>X</td>
|
||||
<td></td>
|
||||
<td>frequengy in MHz</td>
|
||||
<td>frequency in MHz</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
@@ -144,7 +144,7 @@
|
||||
<td>X</td>
|
||||
<td>X</td>
|
||||
<td></td>
|
||||
<td>quaility in %</td>
|
||||
<td>quality in %</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
|
||||
Reference in New Issue
Block a user