Bundle
dsh-unit
单位换算:长度/重量/温度/数据量/时间单位换算
- Source
- uckkk
- License
- MIT
- Updated
- Updated 3 days ago
Readme
# dsh-unit · 单位换算 长度/重量/温度/数据量/时间单位换算。纯 Node 实现。 ## 提供的工具 | 工具 | 作用 | |---|---| | `convert_unit` | 数值单位换算 | ## 安装 ```bash dsh plugin add dsh-unit ``` 安装后在 profile 的 `package.json` 的 `dsh.profile.bundles` 中加入 `"dsh-unit"`。 ## 用法示例 ``` 10 公里等于多少英里 → 调用 convert_unit(value=10, from="km", to="mi") ``` ## 安装 ```bash dsh plugin add github:uckkk/dsh-unit ``` > 安装即在本机运行第三方代码,请自行审阅源码。 ## 安装 ```bash dsh plugin add github:uckkk/dsh-unit ``` ## 使用 安装后在会话中调用该插件注册的工具即可。 ## 许可 MIT > 安装即在本机运行第三方代码,请自行审阅源码。
Install
dsh plugin --profile web add github:uckkk/dsh-unit#18ae5aff8212087c198d0bf0677882653387e4af
Profile: web
With the hub plugin installed, ask your agent to install it by name — it resolves the same plan shown here.
dsh plugin --profile web add github:stvlynn/dsh.fish#path:packages/dsh-plugin-hub
install dsh-unit from the hub