Node-PC-Stats
An NPM Module which returns Your Personal Computer's (PC) Resource Usage.
How It Works?
- Import It
- Run it as a Function
- Returns a Promise
- Use the Javascript then function on the Promise for Success Message
- Use the Javascript catch function to the Promise for Error Message
The Code
var stats =
The Output (https://npm.runkit.com/pc-stats)
cpu: Objectname: "Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz"threads: Array 8 items0: Object idle: 9263157894736842 …1: Object idle: 7613636363636364 …2: Object idle: 8695652173913044 …3: Object idle: 9263157894736842 …4: Object idle: 8958333333333334 …5: Object idle: 956989247311828 …6: Object idle: 9684210526315789 …7: Object idle: 9680851063829788 …Array Prototype......ram: Objectfree: "1.55"total: "15.77"unit: "GB"
Extras
- ✨ pc-stats-api - PC Stats API
- 🚩 employee-churn - A Deep Neural Network for Calculating Churn
- 🌎 node-FileScraper - A File Scraper Which Scrapes Files for you
License
This Module is Licensed Under MIT 2017, Created by Daksh Miglani