<p align="center">
<a href="https://systeminformation.io/">
<img src="https://systeminformation.io/assets/logo_inv.png" alt="systeminformation logo" width="102" height="72">
</a>
</p>
<h3 align="center">systeminformation</h3>
<p align="center">
System and OS information library for node.js
<br>
<a href="https://systeminformation.io/"><strong>Explore Systeminformation docs »</strong></a>
<br>
<br>
<a href="https://github.com/sebhildebrandt/systeminformation/issues/new?template=bug_report.md">Report bug</a>
·
<a href="https://github.com/sebhildebrandt/systeminformation/issues/new?template=feature_request.md&labels=feature">Request feature</a>
·
<a href="https://github.com/sebhildebrandt/systeminformation/blob/master/CHANGELOG.md">Changelog</a>
</p>
[![NPM Version][npm-image]][npm-url]
[![NPM Downloads][downloads-image]][downloads-url]
[![Git Issues][issues-img]][issues-url]
[![Closed Issues][closed-issues-img]][closed-issues-url]
<img src="docs/assets/no-dependencies.svg" alt="no dependencies">
[![Sponsoring][sponsor-badge]][sponsor-url]
[![Caretaker][caretaker-image]][caretaker-url]
[![MIT license][license-img]][license-url]
## The Systeminformation Project
This is amazing. Started as a small project just for myself, it now has > 15,000 lines of code, > 500 versions published, up to 6 mio downloads per month, > 140 mio downloads overall. #1 NPM ranking for backend packages. Thank you to all who contributed to this project!
## New Version 5.0
The new Version 5 is here - I spent several weeks finalizing this new version. Any support is highly appreciated - [Buy me a coffee](https://www.buymeacoffee.com/systeminfo)
This next major version release 5.0 comes with new functionality and several improvements and changes (some of them are breaking changes!):
- added audio: get detailed audio device information
- added bluetooth: get detailed bluetooth device information
- added dockerImages, dockerVolumes: get detailed information about docker images and volumes
- added printer: get information from detected printers
- added usb: get detailed usb controller and device information
- added wifi interfaces and connections: extended wifi information
- better uuid function to get unique hardware and OS UUIDs
- better/extended cpu info detection
- better/extended system info detection
- Apple Silicon M1 support
- better Raspberry-PI detection
- systeminformation website updated and extended with full documentation and examples [systeminformation.io][systeminformation-url]
- lot of minor improvements
Breaking Changes in version 5: you will see several breaking changes for the sake of a more consistent API interface and to be future proof. Read the [detailed version 5 changes][changes5-url].
I did a lot of testing on different platforms and machines but of course there might be some issues that I am not aware of. I would be happy if you inform me when you discover any issues. Issues can be [opened here][new-issue].
## Quick Start
Lightweight collection of 50+ functions to retrieve detailed hardware, system and OS information.
- simple to use
- get detailed information about system, cpu, baseboard, battery, memory, disks/filesystem, network, docker, software, services and processes
- supports Linux, macOS, partial Windows, FreeBSD, OpenBSD, NetBSD, SunOS and Android support
- no npm dependencies
**Attention**: this is a `node.js` library. It is supposed to be used as a backend/server-side library and will definitely not work within a browser.
### Installation
```bash
npm install systeminformation --save
```
or simpler
```bash
npm install systeminformation
```
#### Still need Version 4?
If you need version 4 (for compatibility reasons), you can install version 4 (latest release) like this
```bash
npm install systeminformation@4 —save
```
or simpler
```bash
npm install systeminformation@4
```
### Usage
All functions (except `version` and `time`) are implemented as asynchronous functions. Here a small example how to use them:
```js
const si = require('systeminformation');
// promises style - new since version 3
si.cpu()
.then(data => console.log(data))
.catch(error => console.error(error));
```
## News and Changes
### Latest Activity
(last 7 major and minor version releases)
- Version 5.17.0: `graphics()` added positionX, positionY (mac OS)
- Version 5.16.0: `fsSize()` added rw property
- Version 5.15.0: `blockDevices()` added device
- Version 5.14.0: `blockDevices()` added raid group member (linux)
- Version 5.13.0: `networkConnections()` added process name (mac OS)
- Version 5.12.0: `cpu()` added performance and efficiency cores
- Version 5.11.0: `networkInterfaces()` added default property and default parameter
- Version 5.10.0: basic `android` support
- Version 5.9.0: `graphics()` added properties (macOS)
- Version 5.8.0: `disksIO()` added waitTime, waitPercent (linux)
- Version 5.7.0: `diskLayout()` added S.M.A.R.T for Windows (if installed)
- Version 5.6.0: `cpuTemperature()` added socket and chipset temp (linux)
- Version 5.5.0: `dockerVolumes()` added
- Version 5.4.0: `dockerImages()` added
- Version 5.3.0: `osInfo()` added remoteSession (win only)
- Version 5.2.0: `wifiInterfaces()` and `wifiConnections()` added
- Version 5.1.0: `memLayout()` added ECC flag, `bios()` added language, features (linux)
- Version 5.0.0: new version 5 - attention there are some breaking changes. See [detailed version 5 changes here][changes5-url].
- ...
You can find all changes here: [detailed changelog][changelog-url]
## Core concept
[Node.js][nodejs-url] comes with some basic OS information, but I always wanted a little more. So I came up to write this little library. This library is still a work in progress. It is supposed to be used as a backend/server-side library (it will definitely not work within a browser). It requires node.js version 4.0 and above.
I was able to test it on several Debian, Raspbian, Ubuntu distributions as well as macOS (Mavericks, Yosemite, El Captain, Sierra, High Sierra, Mojave, Catalina, Big Sur) and some Windows 7, Windows 8, Windows 10, FreeBSD, OpenBSD, NetBSD and SunOS machines. Not all functions are supported on all operating systems. Have a look at the function reference in the docs to get further details.
If you have comments, suggestions & reports, please feel free to contact me!
I also created a nice little command line tool called [mmon][mmon-github-url] (micro-monitor) for Linux and macOS, also available via [github][mmon-github-url] and [npm][mmon-npm-url]
## Reference
### Function Reference and OS Support
Full function reference with examples can be found at [https://systeminformation.io][systeminformation-url].
#### 1. General
| Function | Result object | Linux | BSD | Mac | Win | Sun | Comments |
| ------------ | ------------- | ----- | --- | --- | --- | --- | --------------------------------- |
| si.version() | : string | X | X | X | X | X | lib version (no callback/promise) |
| si.time() | {...} | X | X | X | X | X | (no callback/promise) |
| | current | X | X | X | X | X | local (server) time |
| | uptime | X | X | X | X | X | uptime in number of seconds |
| | timezone | X | X | X | X | X | e.g. GMT+0200 |
| | timezoneName | X | X | X | X | X | e.g. CEST |
#### 2. System (HW)
| Function | Result object | Linux | BSD | Mac | Win | Sun | Comments |
| ---------------- | ------------- | ----- | --- | --- | --- | --- | -------------------------------- |
| si.system(cb) | {...} | X | X | X | X | | hardware information |
| | manufacturer | X | X | X | X | | e.g. 'MSI'
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
共2000个文件
js:1367个
md:548个
json:62个
接口测试神器 postman Linux安装包 版本 10.17.0 postman-10.17.0-linux-x64.tar.gz 可以实现http restful 接口 测试 助力产品发版测试 是测试工程师 交付工程师 开发工程师 不可或缺的助手 在Linux平台也可轻松实现接口测试 是IT工程师的好帮手 不再局限于windows系统
资源推荐
资源详情
资源评论
收起资源包目录
接口测试神器 postman linux安装包 v10.17
postman-10.17.0-linux-x64.tar.gz (2000个子文件)
base.css 5KB
prettify.css 676B
sbcs.ts.html 488KB
mbcs.ts.html 108KB
unicode.ts.html 20KB
index.ts.html 20KB
iso2022.ts.html 19KB
utf8.ts.html 13KB
index.html 7KB
index.html 5KB
index.html 5KB
match.ts.html 4KB
jszip.js 365KB
async.js 186KB
socket.io.dev.js 167KB
socket.io.dev.js 152KB
socket.io.slim.dev.js 130KB
socket.io.slim.dev.js 129KB
engine.io.js 110KB
forge-stage-two-query.js 110KB
jszip.min.js 95KB
sbcs.js 87KB
socket.io.js 67KB
socket.io.js 61KB
socket.io.slim.js 53KB
socket.io.slim.js 52KB
normalize-criteria.js 50KB
2023.js 47KB
waterline.js 46KB
2022.js 45KB
process-all-records.js 44KB
coercion.spec.js 43KB
2021.js 42KB
normalize-constraint.js 42KB
2020.js 40KB
normalize-where-clause.js 39KB
normalize-value-to-set.js 37KB
help-find.js 36KB
replace-collection.js 35KB
forge-stage-three-query.js 34KB
2019.js 34KB
2018.js 33KB
destroy.js 31KB
validation.spec.js 31KB
2017.js 30KB
debug.js 27KB
remove-from-collection.js 26KB
2016.js 26KB
forge-adapter-error.js 25KB
websocket.js 25KB
create-each.js 24KB
update.js 24KB
add-to-collection.js 24KB
normalize-new-record.js 24KB
get-query-modifier-methods.js 24KB
2015.js 23KB
create.js 22KB
stream.js 22KB
normalize-sort-clause.js 21KB
async.min.js 21KB
x509.js 19KB
XMLHttpRequest.js 19KB
socket.js 19KB
stringify-human.test.js 18KB
ZipFileWorker.js 18KB
is-specific.test.js 17KB
mbcs.js 17KB
prettify.js 17KB
find-one.js 17KB
types.js 17KB
baseclient.js 17KB
utils.js 16KB
index.js 16KB
find.js 15KB
url-parse.js 15KB
rules.js 15KB
pkcs8.js 14KB
find-or-create.js 14KB
archive.js 14KB
permessage-deflate.js 14KB
avg.js 13KB
index.js 13KB
hub.js 13KB
sum.js 13KB
union.js 13KB
is-valid-attribute-name.js 12KB
manager.js 12KB
manager.js 12KB
parsers.js 12KB
object.js 12KB
receiver.js 12KB
MetaModel.js 12KB
count.js 12KB
index.js 12KB
zipEntries.js 12KB
es2023.js 12KB
websocket-server.js 11KB
certificate.js 11KB
es2022.js 11KB
zipEntry.js 11KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
OceanWaves1993
- 粉丝: 648
- 资源: 14
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功