Commit 0c4c44e351d3e0240f07f863907e8cd50528e40e
readme
Ben Evans committed on 11/17/2018, 6:10:13 PMParent: 59b142eb77d43824a0cd73b904b0187d20bb94f1
Files changed
README.md | added |
README.md | ||
---|---|---|
@@ -1,0 +1,24 @@ | ||
1 … | +# huawei-mifi | |
2 … | + | |
3 … | +> Gather stats from Huawei MiFi Device | |
4 … | + | |
5 … | +## install | |
6 … | + | |
7 … | + $ npm install huawei-mifi | |
8 … | + | |
9 … | +## example | |
10 … | + | |
11 … | +```js | |
12 … | +const Mifi = require('huawei-mifi') | |
13 … | + | |
14 … | +const mifi = new Mifi('192.168.8.1') | |
15 … | + | |
16 … | +await mifi.authenticate() | |
17 … | +console.log('status:', await mifi.status()) | |
18 … | +console.log('traffic stats:', await mifi.traffic()) | |
19 … | +console.log('notifications:', await mifi.notifications()) | |
20 … | +``` | |
21 … | + | |
22 … | +## licence | |
23 … | + | |
24 … | +MIT |
Built with git-ssb-web