Major Changes - Version 5
New Functions
- chassis() chassis information
- vboxInfo() detailed virtualBox VM information
- wifiNetworks() detailed information about available wifi networks
Breaking Changes
- networkStats(): will provide an array of stats for all given interfaces. In previous versions only one interface was provided as a parameter. Pass '*' for all interfaces
- networkStats(): rx and tx changed to rx_bytes and tx_bytes
- dockerContainerStats() will provide an array of stats for all given docker containers. In previous versions only one interface was provided as a parameter. Pass '*' for all docker containers
Other Changes
- system(): optimized system detection (e.g. new Raspberry Pi models, ...)
- system(), bios(), baseboard(): information also as non-root (linux)
- graphics(): added pip, pip3, virtualBox,
- versions(): better controller and display detection, fixes
- networkInterfaces(): optimization, fixes
- networkStats() added operstate, type, duplex, mtu, speed, carrierChanges
- added TypeScript definitions
Be aware, that the new version 5.x is NOT fully backward compatible to version 4.x ...
Major Changes - Version 4
New Functions
- chassis() chassis information
- vboxInfo() detailed virtualBox VM information
- wifiNetworks() detailed information about available wifi networks
Breaking Changes
- networkStats(): will provide an array of stats for all given interfaces. In previous versions only one interface was provided as a parameter. Pass '*' for all interfaces
- networkStats(): rx and tx changed to rx_bytes and tx_bytes
- dockerContainerStats() will provide an array of stats for all given docker containers. In previous versions only one interface was provided as a parameter. Pass '*' for all docker containers
Other Changes
- system(): optimized system detection (e.g. new Raspberry Pi models, ...)
- system(), bios(), baseboard(): information also as non-root (linux)
- graphics(): added pip, pip3, virtualBox,
- versions(): better controller and display detection, fixes
- networkInterfaces(): optimization, fixes
- networkStats() added operstate, type, duplex, mtu, speed, carrierChanges
- added TypeScript definitions
Be aware, that the new version 4.x is NOT fully backward compatible to version 3.x ...
Major Changes - Version 3
- works only with node.js v4.0.0 and above (using now internal ES6 promise function, arrow functions, ...)
- Promises. As you can see in the documentation, you can now also use it in a promise oriented way. But callbacks are still supported.
- Async/Await. Due to the promises support, systeminformation also works perfectly with the `async/await` pattern (available in node.js v7.6.0 and above). See example in the docs.
Full version history
Full version histrory can be viewed here