没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
diskusage-ng-在纯JavaScript中获取磁盘使用情况信息,没有任何依赖关系 支持的操作系统: Windows(通过WMIC) OSX / Linux / Posix(通过df) 用法 var diskusage = require('diskusage-ng'); diskusage('/home/me', function(err, usage) { if (err) return console.log(err); console.log(usage.total); console.log(usage.used); console.log(usage.available); }); 指令 npm run test 学分 感谢@xiaoxiangmoe提供TypeScript类型定义。 感谢@ Congelli501在POSIX系统上用child_pr
资源推荐
资源详情
资源评论
收起资源包目录
node-diskusage-ng-master.zip (13个子文件)
node-diskusage-ng-master
LICENSE.txt 1KB
lib
utils.js 474B
posix.js 1KB
win32.js 2KB
.travis.yml 129B
README.md 866B
index.d.ts 267B
tests
test-win32.js 3KB
test-posix.js 4KB
index.js 126B
.gitignore 25B
index.js 180B
package.json 729B
共 13 条
- 1
资源评论
MaDaniel
- 粉丝: 53
- 资源: 4572
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功