Tests

If you run into problems, you now can easily test if a specific function is supported on your platform and returns plausible results. In this section you will learn how you can easily test all functions on your platform:

Testing on your platform

First of all make sure, that you have git installed on your machine.

Next you need to clone the git repository of the current beta version to a directory of your choice:

git clone -b v6 https://github.com/sebhildebrandt/systeminformation.git

Go inside the newly created systeminformation directory

cd systeminformation

If you already cloned the repository, make sure that you have the latest version installed:

git pull

Now you can start the test with

npm ci             # install dev dependencies
npm run build      # build / compile package (tsc)

npm run test

You get a nice menu where you now can run function by function and see if you get meaningfull results (if supported on your platform) or errors. Sample output:

┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│                               _                 _        __                            _   _                               │
│                 ___ _   _ ___| |_ ___ _ __ ___ (_)_ __  / _| ___  _ __ _ __ ___   __ _| |_(_) ___  _ __                    │
│                / __| | | / __| __/ _ \ '_ ` _ \| | '_ \| |_ / _ \| '__| '_ ` _ \ / _` | __| |/ _ \| '_ \                   │
│                \__ \ |_| \__ \ ||  __/ | | | | | | | | |  _| (_) | |  | | | | | | (_| | |_| | (_) | | | |                  │
│                |___/\__, |___/\__\___|_| |_| |_|_|_| |_|_|  \___/|_|  |_| |_| |_|\__,_|\__|_|\___/|_| |_|                  │
│                     |___/                                                                                                  │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│                            (c) 2026 Sebastian Hildebrandt, All rights reserved. License: MIT                               │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│  SYSTEMINFORMATION                                                                                         Version: 6.x.x  │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│  a ... Audio           i ... INET Latency        s ... Services           1 ... NET Iface Default     ? ... Get Object     │
│  b ... BIOS            I ... INET Check Site     S ... Shell              2 ... NET Gateway Default   , ... All Static     │
│  B ... Baseboard       j ... INET Public IP      t ... time               3 ... NET Interfaces        . ... All Dynamic    │
│  C ... Chassis         J ... CPU Current Speed   T ... CPU Temperature    4 ... NET Stats             / ... All            │
│  c ... CPU             k ... Camera              u ... USB                5 ... NET Connections                            │
│  * ... Fans            K ... Keyboard            U ... UUID                                                                │
│  d ... DiskLayout      l ... CPU Current Load    v ... Versions           6 ... Docker Info                                │
│  D ... DiskIO          L ... Full Load           V ... Virtual Box        7 ... Docker Images                              │
│  e ... Block Devices   m ... Memory              w ... WIFI networks      8 ... Docker Container                           │
│  E ... Open Files      M ... MEM Layout          W ... WIFI interfaces    9 ... Docker Cont Stats                          │
│  f ... FS Size         n ... NPU                 x ... WIFI connections   0 ... Docker Cont Proc                           │
│  F ... FS Stats        N ... NPM Packages        X ... Serial Ports       + ... Docker Volumes                             │
│  A ... Displays        o ... OS Info             y ... System                                                              │
│  g ... GPU             O ... Mouse               Y ... Battery                                                             │
│  G ... PCI             p ... Processes           z ... Printer                                                             │
│  h ... Bluetooth       P ... Process Load        Z ... Users                                                               │
│  H ... Thunderbolt     r ... Installed Software  - ... SI lib version                                 q >>> QUIT           │
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

Press q to exit the test suite

Here a sample output for the e.g. c ... CPU

┌────────────────────────────────────────────────┐
│  CPU                                  v: 6.x.y │
└────────────────────────────────────────────────┘
{
  manufacturer: 'Intel®',
  brand: 'Core™ i7-8569U',
  vendor: 'GenuineIntel',
  family: '6',
  model: '142',
  stepping: '10',
  revision: '',
  voltage: '',
  speed: 2.8,
  speedMin: 2.8,
  speedMax: 2.8,
  governor: '',
  cores: 8,
  physicalCores: 4,
  performanceCores: 0,
  efficiencyCores: 0,
  processors: 1,
  socket: '',
  flags: 'fpu vme de pse tsc ...',
  virtualization: true,
  cache: { l1d: 32768, l1i: 32768, l2: 262144, l3: 8388608 }
}

Make sure to have a look in the documentation if there are already known issues and if the specific function is supported on your platform. If yes, check whether results are meaningfull and plausible.

I highly appreciate if you test all functions on your specific platform. This will help me improving the package and provide the best possible platform support.