Add 'systeminformation' package and reopen add 'Server Monitor' option

This commit is contained in:
Ibukun Dairo
2019-08-27 22:09:02 +01:00
parent e230774a64
commit 0f18974ea3
3 changed files with 8 additions and 1 deletions

View File

@@ -847,6 +847,11 @@
"has-flag": "^3.0.0"
}
},
"systeminformation": {
"version": "4.14.8",
"resolved": "https://registry.npmjs.org/systeminformation/-/systeminformation-4.14.8.tgz",
"integrity": "sha512-05wW1YaMBI6LlVtvw2wXQGr0thpX8E0IImYcpbqUiNanfmq8e+V89pDW2L5V/mN8kU37W0VtVySftQ0PwMIXKw=="
},
"table": {
"version": "5.1.1",
"resolved": "https://registry.npmjs.org/table/-/table-5.1.1.tgz",

View File

@@ -19,7 +19,8 @@
"inquirer": "^6.2.1",
"node-cron": "^2.0.3",
"os-utils": "0.0.14",
"q": "^1.5.1"
"q": "^1.5.1",
"systeminformation": "^4.14.8"
},
"keywords": [
"fyipe",

View File

@@ -1,4 +1,5 @@
const axios = require('axios');
const si = require('systeminformation');
const { apiUrl } = require('./config');
const postApi = (url, data) => {