convert

The smallest & fastest library for really easy, totally type-safe unit conversions in TypeScript & JavaScript.

MIT License

Downloads
124.8K
Stars
105
Committers
9

Bot releases are visible (Hide)

convert - v1.4.0

Published by github-actions[bot] almost 4 years ago

1.4.0 (2020-12-31)

Features

  • convertMany: improve error messages in development builds (b612686)
convert - v1.3.0

Published by github-actions[bot] almost 4 years ago

1.3.0 (2020-12-31)

Features

  • convertMany: add convertMany function (a58e6f7)
convert - v1.2.0

Published by github-actions[bot] almost 4 years ago

1.2.0 (2020-12-26)

Features

  • improve performance, bundle size, compatibility, and add a default export (a0b3c8c)
convert - v1.1.4

Published by github-actions[bot] almost 4 years ago

1.1.4 (2020-12-24)

Bug Fixes

convert - v1.1.3

Published by github-actions[bot] almost 4 years ago

1.1.3 (2020-12-24)

Bug Fixes

  • volume: fix imperial conversion ratios (cd447b5)
convert - v1.1.2

Published by github-actions[bot] almost 4 years ago

1.1.2 (2020-12-21)

Bug Fixes

  • volume: fix aliases for acre-foot (651d731)
convert - v1.1.1

Published by github-actions[bot] almost 4 years ago

1.1.1 (2020-11-02)

Bug Fixes

  • typescript: include declaration file to fix TypeScript projects not compiling from npm (59f9c60)
convert - v1.1.0

Published by github-actions[bot] almost 4 years ago

1.1.0 (2020-11-01)

Bug Fixes

  • fix conversion ratios and optimize size (c6e0162)
  • data: fix conversions for data and optimize for minification (a453d33)

Features

  • length: add aliases for en_GB versions of SI units (948ca46)
  • volume: add volume conversions (#63) (9958590)
convert - v1.0.1

Published by github-actions[bot] about 4 years ago

1.0.1 (2020-09-21)

Bug Fixes

  • data: fix invalid aliases for millibits and centibits (829a2a8)
convert - v1.0.0

Published by github-actions[bot] about 4 years ago

1.0.0 (2020-09-01)

Bug Fixes

  • data: fix naming of octets and heptads (01d8abc)
  • fix typings for converting mass (ae29d1c)
  • mass: fix exagram ratio (1a9c689)
  • add all typings to fix imports (6819600)
  • fix conversion ratios (f8cac44)
  • fix ESM builds not being generated (efac110)
  • fix imports of Unit (1280e91)
  • fix invariant not appearing in production builds (f387071)
  • fix typings not being included in build output (50554aa)

Features

  • initial release (4efcbb1)
  • data: add digital data conversion (94a7db3)
  • data: add many more conversion ratios (a54f363)
  • pressure: add pressure conversions (62d13ee)
  • rewrite conversion data format for big big performance increases (a57f9b3)
  • mass: add mass conversions (476c1e7)
  • change exported conversion values (473001e)
  • length: add imperial units (b72063a)
  • temperature: begin adding temperature conversion (e9c57e2)
  • implement the BUCKWILD typesafety (045e331)
  • improve typings of units (8c0e8df)
  • rewrite conversion logic and add in full typesafety (f85f298)
  • time: add more time conversions (4774f1f)
  • initial project setup (7126d2a)

Performance Improvements

  • mark library as side-effect free for Webpack (f285be7)
  • optimize build for publish (16593b1)
  • optimize error handling and conversion calculation (d5877fa)
  • simplify combined ratio calculation (1d9614d)