dsh-duration
其他 活跃维护

dsh-duration

uckkk/dsh-duration

轻量级时长格式化工具,支持毫秒、秒、分钟、小时等多时间单位的自动换算与人性化输出,API 简洁易接入,可快速嵌入各类项目实现时长数据的友好展示,无需复杂配置。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
4 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:uckkk/dsh-duration
git clone https://github.com/uckkk/dsh-duration.git
git clone git@github.com:uckkk/dsh-duration.git
README.md main

dsh-duration · 时长格式化

纯 Node 实现,无网络、无外部服务。

安装

dsh plugin add dsh-duration

安装后在 profile 的 package.json 的 dsh.profile.bundles 中加入 "dsh-duration"。

安装

dsh plugin add github:uckkk/dsh-duration

安装即在本机运行第三方代码,请自行审阅源码。

安装

dsh plugin add github:uckkk/dsh-duration

使用

安装后在会话中调用该插件注册的工具即可。

许可

MIT

安装即在本机运行第三方代码,请自行审阅源码。