🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

ncu-electric

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ncu-electric

NCU Electric Helper

latest
npmnpm
Version
1.2.0
Version published
Weekly downloads
8
-20%
Maintainers
1
Weekly downloads
 
Created
Source

介绍

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

运行方式

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

FAQs

Package last updated on 19 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts