An open API service indexing awesome lists of open source software.

https://github.com/randomhashtags/swift-units

Unit conversion Swift library, with other relevant information.
https://github.com/randomhashtags/swift-units

framework ios library linux macos swift swift-package swift-package-manager units-converter

Last synced: 10 months ago
JSON representation

Unit conversion Swift library, with other relevant information.

Awesome Lists containing this project

README

          

# swift-units
Unit conversion Swift library, with other relevant information. Built on top of [HugeNumbers](https://github.com/RandomHashTags/swift_huge-numbers).

## Installation
### Requirements
- Swift >= 5.7
- macOS >= 13.0
- iOS >= 16.0
- tvOS >= 16.0
- watchOS >= 9.0
### Swift Package Manager
```swift
.package(url: "https://github.com/RandomHashTags/swift-units.git", from: "1.2.0")
```

## Current features
### Units
- Acceleration
- Action
- Area
- Density
- Electric Charge
- Electric Current
- Electric Potential
- Electric Power
- Electric Resistance
- Energy
- Force
- Frequency
- Heat Capacity
- Illuminance
- Length
- Luminous Flux
- Luminous Intensity
- Magnetic Induction
- Mass
- Pressure
- Speed
- Substance
- Temperature
- Time
- Volume

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

## Funding
Support the development of this project by sponsoring the developers.
- [RandomHashTags](https://github.com/sponsors/RandomHashTags)

## License
Public Domain. Creative Commons Zero v1.0 Universal.