Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 6, 2024 via pnpm
Package created
18 Jul 2015
Version published
15 Sep 2023
Maintainers
1
Total deps
1
Direct deps
0
License
MIT

Issues

2

2 critical severity issues

critical
Recommendation: Upgrade to version 5.21.7 or later
via: systeminformation@5.21.5
Recommendation: Upgrade to version 5.21.7 or later
via: systeminformation@5.21.5
Collapse
Expand

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
systeminformation@5.21.5
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

0
All Dependencies CSV
β“˜ This is a list of systeminformation 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities

Visualizations

Frequently Asked Questions

What does systeminformation do?

Systeminformation is a powerful, lightweight system and OS information library for Node.js. It offers a collection of over 50 functions that allow you to retrieve detailed information about the hardware, system, and OS, such as CPU info, memory, battery, graphics, disks/filesystem, network, Docker, services, and processes. It supports Linux, macOS, Windows, FreeBSD, OpenBSD, NetBSD, SunOS, and Android, and doesn't have any external npm dependencies. This library operates on the backend or server-side and does not function within a browser.

How do you use systeminformation?

To use Systeminformation, you first need to install it via npm with one of the following commands in your project directory:

npm install systeminformation --save

or

npm i systeminformation

After installation, you can import the library into your JavaScript file and utilize its functions. Given that all functions (except version and time) are implemented asynchronously, they should be used in either a promise style or an async/await style.

An example of using the cpu() function in a promise-style way would be:

const si = require('systeminformation');

si.cpu()
  .then(data => console.log(data))
  .catch(error => console.error(error));

The function first retrieves CPU information and then logs it to the console.

Where are the systeminformation docs?

The documentation for Systeminformation is located on systeminformation.io. Here, you can find a comprehensive function reference along with examples that outline the use of each function provided by the library. The documentation also contains details about the supported OS for each function, ensuring that you have all the necessary information before you start developing with Systeminformation.