uckkk/dsh-unit ↗★ 0

dsh-unit

单位换算:长度/重量/温度/数据量/时间单位换算 用于在长度、重量、温度、数据量和时间等多种物理单位间进行数值换算。适合学生、工程师及日常需要数据转换的用户。

套件
dsh-unit
相容性
待驗證
Harness 依賴範圍
>=0.1.0-rc.6
Cordis 依賴範圍
^4.0.1
版本
0.1.0
授權
MIT
最近更新
2026年8月16日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:uckkk/dsh-unit

dsh-unit · 单位换算

长度/重量/温度/数据量/时间单位换算。纯 Node 实现。

提供的工具

工具作用
convert_unit数值单位换算

安装

dsh plugin add dsh-unit

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

用法示例

10 公里等于多少英里
→ 调用 convert_unit(value=10, from="km", to="mi")