Skip to content

๐ŸŽ‰ v0.1.0 released โ€” 12 unit categories, zero deps | v0.1.0 ๅ‘ๅธƒ๏ผš12 ็ฑปๅ•ไฝๆข็ฎ—ใ€้›ถไพ่ต–ย #1

Description

@TYEclipse

dsh-units v0.1.0 is live: https://github.com/TYEclipse/dsh-units

Two tools, zero runtime dependencies, pure arithmetic:

  • convert_unit โ€” length, mass, temperature (affine C/F/K), area, volume incl. US cooking units, speed, time duration, data sizes (decimal MB vs binary MiB), pressure, energy, angle, frequency
  • list_units โ€” discover all 12 categories and their symbols

Why another plugin? LLMs are genuinely unreliable at unit math โ€” affine temperatures, decimal/binary prefixes, and awkward compound factors (psi, kcal, km/h) are exactly the kind of silent-error traps a deterministic table fixes.

Quality gates: tsc strict build โœ…, 28 vitest tests โœ… (fully offline fixtures), oxlint โœ…, real-product smoke test โœ….

Roadmap thoughts:

  • currency (needs live rates โ€” would add an optional fetch backend; deliberately out of v0.1.0)
  • more units (light years? furlongs?) โ€” tell me what you actually use

Feedback welcome โ€” what unit pair do you reach for most?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions