dsh-units
Unit conversion toolbox for DeepSeek Harness (dsh): length, mass, temperature, area, volume (incl. cooking), speed, time, data sizes (decimal MB vs binary MiB), pressure, energy, angle, frequency, typography (px/pt/em/rem), fuel economy (mpg ↔ L/100km) — zero runtime dependencies
AI Analysis
核心用途是提供多领域的物理与技术单位换算。适合需要频繁进行跨系统单位转换(如公英制、数据进制、温度等)的日常办公、工程计算或排版任务。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:TYEclipse/dsh-unitsREADME
Read the full README ↗Usage
The agent just calls the tools — no setup beyond installation:
convert_unit { value: 100, from: "km", to: "mi" }
→ 100 km = 62.137119 mi (length, × 0.621371)
convert_unit { value: 500, from: "MiB", to: "MB" }
→ 500 MiB = 524.288 MB (data size / transfer, × 1.048576)
convert_unit { value: 350, from: "fahrenheit", to: "celsius" }
→ 350 f = 176.666667 c (temperature, (x − 32) × 5/9)
convert_unit { value: 16, from: "px", to: "pt" }
→ 16 px = 12 pt (typography (CSS / print), × 0.75)
convert_unit { value: 20, from: "mpg", to: "l/100km" }
→ 20 mpg = 11.760729 l/100km (fuel economy, 235.214583 ÷ x → x)
list_units { category: "volume" }
→ volume (volume (incl. cooking), base: liter): m3 = cubic meter | l = liter | ...
Configuration
plugins:
dsh-units:
maxDecimals: 6 # display rounding: decimals ≥ 1, significant digits below (1–12)