humanizer 2.0.0 copy "humanizer: ^2.0.0" to clipboard
humanizer: ^2.0.0 copied to clipboard

outdated

A library to convert Dart values into human-friendly representations.

2.0.0 - NOT YET RELEASED #

  • Switched to using Rational as the basis for units of measurement rather than Decimal

    This is a breaking change. It allows for running calculations to be performed without loss of precision. A Decimal is a wrapper around Rational, so most call sites can be fixed by simple substitution.

  • Added support for dimensionless quantities to units of measurement feature, which allows you to humanize large numbers

1.0.0 - 16th Oct, 2021 #

  • Improved the design and implementation of units of measurement, particularly around formatting
  • Add ability to humanize Enum instances
  • Symbol related extensions now operate against a SymbolName class rather than String
  • Generalize approximate relative time to approximate time
  • Switch to using DecimalIntl now that this issue is resolved

0.0.2 - 26th Feb, 2021 #

  • Add permissible units to units of measurement humanize extensions
  • Add example
  • Bump decimal dependency to stable, null-safe version (1.0.0)

0.0.1-nullsafety - 25th Feb, 2021 #

  • Initial release
47
likes
0
pub points
92%
popularity

Publisher

verified publisherkent-boogaart.com

A library to convert Dart values into human-friendly representations.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

decimal, intl, meta, rational

More

Packages that depend on humanizer