diff --git a/CHANGELOG.md b/CHANGELOG.md
index df35446..6e4e41e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -30,7 +30,8 @@ For major (breaking) changes - version 3 and 2 see end of page.
| Version | Date | Comment |
| -------------- | -------------- | -------- |
-| 4.29.2 | 2020-11-09 | `blockdevices()` catch errors adapted for just one line |
+| 4.30.0 | 2020-11-12 | `get()` possibility to provide params |
+| 4.29.3 | 2020-11-09 | `blockdevices()` catch errors adapted for just one line |
| 4.29.2 | 2020-11-09 | `blockdevices()` catch errors |
| 4.29.1 | 2020-11-08 | `cpu()`, `system()` better parsing Raspberry Pi revision codes |
| 4.29.0 | 2020-11-08 | `fsSize()` correct fs type detection macOS (HFS, APFS, NFS) |
diff --git a/README.md b/README.md
index a7c1385..6ad891c 100644
--- a/README.md
+++ b/README.md
@@ -87,6 +87,7 @@ si.cpu()
(last 7 major and minor version releases)
+- Version 4.30.0: `get()` added possibility to provide parameters
- Version 4.29.0: `fsSize()` correct fs type detection macOS (HFS, APFS, NFS)
- Version 4.28.0: `graphics()` added deviceName (Windows)
- Version 4.27.0: `observe()` added observe / watch function
diff --git a/docs/general.html b/docs/general.html
index b6f7e50..9019200 100644
--- a/docs/general.html
+++ b/docs/general.html
@@ -203,6 +203,60 @@ si.get(valueObject).then(data => console.log(data));
The key names of the valueObject must be exactly the same as the representing function within systeminformation.
+
Providing parameters to the get() function
+
Now you can also provide parameters to get() functions (where needed). Just pass the parameters in parentheses right after the wanted keys: have a look at the folloging example:
+
+
+
+
Function
+
Result object
+
Linux
+
BSD
+
Mac
+
Win
+
Sun
+
Comments
+
+
+
+
si.get(valueObject,cb)
+
{...}
+
X
+
X
+
X
+
X
+
X
+
example with parameters: value in paretheses goes as parameter to the given function:
+
+
+
+
+
Example
+
const si = require('systeminformation');
+
+// define all values, you want to get back
+// here the value in paretheses goes as a parameter
+// to the processLoad function
+
+valueObject = {
+ processLoad: 'pids, cpu (postgres)'
+}
+si.get(valueObject).then(data => console.log(data));
The following three functions si.getStaticData(), si.getDynamicData() and si.getAllData() will return most of the available data in a single result object: