Skip to content

Unit conversion Swift library, with other relevant information.

License

Notifications You must be signed in to change notification settings

RandomHashTags/swift-units

Repository files navigation

swift-units

Unit conversion Swift library, with other relevant information. Built on top of HugeNumbers.

Installation

Requirements

  • Swift >= 5.7
  • macOS >= 13.0
  • iOS >= 16.0
  • tvOS >= 16.0
  • watchOS >= 9.0

Swift Package Manager

.package(url: "https://github.com/RandomHashTags/swift-units.git", from: "1.1.3")

Current features

Units

  • AccelerationUnit
  • ActionUnit
  • DensityUnit
  • ElectricChargeUnit
  • EnergyUnit
  • EnergyPotentialUnit
  • ForceUnit
  • FrequencyUnit
  • LengthUnit
  • MassUnit
  • PressureUnit
  • SpeedUnit
  • TemperatureUnit
  • TimeUnit

Contributing

Adding/improving functionality is always welcome, just make a PR.

Funding

Support the development of this project by sponsoring the developers.

License

Public Domain. Creative Commons Zero v1.0 Universal.