Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Explain canonicalise #13

Open
incansvl opened this issue Apr 10, 2018 · 1 comment
Open

Feature request: Explain canonicalise #13

incansvl opened this issue Apr 10, 2018 · 1 comment

Comments

@incansvl
Copy link

ucum.js: 0.0.2

When user-submitted units are canonicalised the logic of how the result was achieved is sometimes obvious, sometimes not.

It would be helpful for non-developers working to "clean" historical code sets if the library was able to explain the conversion steps that were taken to transform the unit supplied in the argument to the canonicalised result.

Simple example below-

Input      Output
mV/mm      gm/C/s2

A ucum.canonicaliseExplain() function to show the transformation stages would be a useful addition.

@jmandel
Copy link
Owner

jmandel commented Apr 10, 2018

Thanks for the comment! This library isn't actively maintained, but I'd be happy to accept a contribution along these lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants