ncu-electric

1.2.0 • Public • Published

介绍

用于查询电费信息。昌大助手的组件。

运行方式

npm install ncu-electric --save
var ele = require('ncu-electric')
// 填写寝室号
ele.getInfo(dormitory)
  .then(data => {
    // 对获取到的电费数据进行操作
  })
  .catch(err => {
    // 错误处理
  })

将要查找的图书地址,放入一个json文件中即可。
## 开发

git clone https://github.com/Lxxyx/ncu-electric cd ncu-electric npm install gulp

### 测试
全局安装mocha

npm i mocha -g

然后:

npm test

Readme

Keywords

none

Package Sidebar

Install

npm i ncu-electric

Weekly Downloads

0

Version

1.2.0

License

MIT

Last publish

Collaborators

  • lxxyx