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.
- Host: GitHub
- URL: https://github.com/randomhashtags/swift-units
- Owner: RandomHashTags
- License: cc0-1.0
- Created: 2023-07-06T21:34:29.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-22T20:19:28.000Z (almost 2 years ago)
- Last Synced: 2024-05-02T04:44:58.918Z (over 1 year ago)
- Topics: framework, ios, library, linux, macos, swift, swift-package, swift-package-manager, units-converter
- Language: Swift
- Homepage:
- Size: 667 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.