device-full-info
v1.0.0
Published
Get full device hardware and system information
Maintainers
Readme
@你的npm用户名/device-full-info
A comprehensive npm package to get full hardware and system information of the current device, supporting Windows/macOS/Linux.
Installation
# Global installation (CLI usage)
npm install -g @你的npm用户名/device-full-info
# Local installation (programmatic usage)
npm install @你的npm用户名/device-full-info
# Get all device information (pretty format)
device-info all
# Get all device information (JSON format)
device-info all -f json
# Get specific category info
device-info get os # OS information
device-info get cpu # CPU information
device-info get memory # Memory information
device-info get disk # Disk information
device-info get network # Network information
device-info get hardware # Hardware information
# Show help
device-info --help