Skip to content

Feature: Better unit returns and addition of pressure and energy units#6

Merged
BlankRiser merged 5 commits into
mainfrom
new-units
Sep 5, 2025
Merged

Feature: Better unit returns and addition of pressure and energy units#6
BlankRiser merged 5 commits into
mainfrom
new-units

Conversation

@BlankRiser

Copy link
Copy Markdown
Owner
  • Support for pressure and energy unit conversion
  • The return type of a conversion would now be an object with the value and unit
  • Test cases have been updated to consider precision changes to the config
  • includeUnit option has been deprecated in favour of the new way the converted value is returned. It is the user's choice to use the unit from the return object.

@vercel

vercel Bot commented Sep 5, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
unit-conversion-docs Error Error Sep 5, 2025 11:03am

@BlankRiser
BlankRiser merged commit ccf520f into main Sep 5, 2025
2 of 3 checks passed
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

Successfully merging this pull request may close these issues.

1 participant