The project consists of a set of libraries for obtaining system information. Each library includes a collection of methods designed to gather various parameters and characteristics of the system.
This project doesn't include all parts of the system. If you want more info about the system, i suggest using systeminformation.
- The documentation for USB devices can be found here
- The documentation for RAM can be found here
- The documentation for PCI devices can be found here
- The documentation for RAM can be found here
yarn install spci-libs
import { Usb } from 'spci-libs';
const myUsbDevices = async() => {
const usb = new Usb();
const devices = await usb.getDevices();
console.log(devices);
};
- Install dependencies
yarn
- Build lib
yarn build
- Run playground
yarn start
Further details see LICENSE file.
If you have any questions, suggestions, or issues, please create an issue in the GitHub repository or contact me at aspedm@gmail.com.
A big thanks to:
- systeminformation - Library based and inspired on systeminformation