UnitMath icon indicating copy to clipboard operation
UnitMath copied to clipboard

JavaScript library for unit conversion and arithmetic

Results 20 UnitMath issues
Sort by recently updated
recently updated
newest added

Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7. Release notes Sourced from node-fetch's releases. v2.6.7 Security patch release Recommended to upgrade, to not leak sensitive cookie and authentication header information to 3th...

dependencies

Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.10.0 to 6.12.6. Release notes Sourced from ajv's releases. v6.12.6 Fix performance issue of "url" format. v6.12.5 Fix uri scheme validation (@​ChALkeR). Fix boolean schemas with strictKeywords...

dependencies

Looking at the docs of the custom formatter, https://github.com/ericman314/UnitMath#custom-formatter , I have the feeling that the `formatter` option can be simpler, by removing the possibility to pass additional arguments to...

From the docs: > If the prefix or simplify options are set to 'auto' or 'always', the toString and format methods will try to simplify the unit before outputting. This...

v1.0 is getting very close! Thank you to @m93a for adding typescript support, and everyone else for your helpful comments. Just a few more things left I can think of:...

Hey Eric! I've been reading through the code of `make-things-less-complicated` and there's a part that didn't make sense to me. On [line 384](https://github.com/ericman314/UnitMath/blob/make-things-less-complicated/src/Unit.js#L384) of `Unit.ts` there is this code: ```javascript...

Lodash forces objects into values via `valueOf` when sorting. This would be useful for sorting arrays of units, without having to pass custom compare function, etc.

A few tests in math.js are still failing; these are related to creating custom units, and expecting those units to be used when simplifying expressions (they are not currently). In...

Referencing https://github.com/josdejong/mathjs/issues/1449#issuecomment-536841614 >I haven't found anything that solves the US system, Imperial, Metric differences of cup, Tbs etc well, same issue happens in [measuring-cup](https://github.com/cgatno/measuring-cup/issues/4). The need of > > 1....

Hello For explicitness and to prevent ugly errors of units misuse I propose to use long unit names in output: now: ``` > 1b 1 b > 1 m 1...