mini_sysinfo

0.1.1 • Public • Published

mini_sysinfo

Get system summary information

You can obtain the following information:

  • Device Name
  • Processor
  • Memory
  • Operating System
  • Network
  • NodeJs
  • NPM
  • MongoDB
  • Redis
  • Nginx

Install

npm install -g mini_sysinfo

Usage

mini_sysinfo

# DeviceName   PC-2017204IFLS
# CPU          Intel(R) Core(TM) i3-7100 CPU @ 3.90GHz (4核心)
# RAM          8 GB (7.89 可用)
# OS           Windows 10 Pro Windows_NT x64 10.0.19045

# ...

# NodeJs       16.17.0
# NPM          8.15.0
# MongoDB      5.0.0
# Redis        5.0.9
# Nginx        --

API

const miniSysinfo = require("mini_sysinfo");
console.log(miniSysinfo());

/**
 [
  { name: "DeviceName", value: "PC-2017204IFLS" },
  {
    name: "CPU",
    value: "Intel(R) Core(TM) i3-7100 CPU @ 3.90GHz (4核心)",
  },

  ...

  { name: "NodeJs", value: "16.17.0" },
  { name: "NPM", value: "8.15.0" },
  { name: "MongoDB", value: "5.0.0" },
  { name: "Redis", value: "5.0.9" },
  { name: "Nginx", value: "--" },
];
 */

Readme

Keywords

none

Package Sidebar

Install

npm i mini_sysinfo

Weekly Downloads

0

Version

0.1.1

License

ISC

Unpacked Size

4.88 kB

Total Files

4

Last publish

Collaborators

  • caryhuang