istats-manager
Version:
Manage your stats CPU and battery
43 lines (32 loc) • 823 B
Markdown
# iStats for Mac OSX (Electron)
# Example application:
##Configure package.json
```javascript
{
"name": "istats",
"version": "1.0.0",
"description": "istats",
"main": "app.js",
"scripts": {
"start": "electron app.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"electron": "^1.4.14",
"istats-manager": "^1.0.16"
}
}
```
##Create app.js
```javascript
'use strict';
const istats = require('istats-manager');
istats.status();
```
# Boot application
* npm install
* npm start
<img width="174" alt="screen shot 2016-12-22 at 4 19 52 pm" src="https://cloud.githubusercontent.com/assets/13609095/21428394/87237bf8-c862-11e6-9940-1433de187721.png">
### If not open drop-down reboot the application ``` npm start ```