{"id":51918417,"url":"https://github.com/orchetect/swift-unit-interval","last_synced_at":"2026-07-27T14:30:35.439Z","repository":{"id":371387404,"uuid":"1300831669","full_name":"orchetect/swift-unit-interval","owner":"orchetect","description":"UnitInterval and SignedUnitInterval types for Swift","archived":false,"fork":false,"pushed_at":"2026-07-14T19:16:04.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-14T20:27:26.901Z","etag":null,"topics":["floating-point","number","swift","unit-interval"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/orchetect.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"orchetect"}},"created_at":"2026-07-14T18:30:28.000Z","updated_at":"2026-07-14T18:41:59.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/orchetect/swift-unit-interval","commit_stats":null,"previous_names":["orchetect/swift-unit-interval"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/orchetect/swift-unit-interval","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orchetect%2Fswift-unit-interval","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orchetect%2Fswift-unit-interval/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orchetect%2Fswift-unit-interval/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orchetect%2Fswift-unit-interval/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orchetect","download_url":"https://codeload.github.com/orchetect/swift-unit-interval/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orchetect%2Fswift-unit-interval/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35955550,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-27T02:00:06.776Z","response_time":101,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["floating-point","number","swift","unit-interval"],"created_at":"2026-07-27T14:30:34.757Z","updated_at":"2026-07-27T14:30:35.406Z","avatar_url":"https://github.com/orchetect.png","language":"Swift","funding_links":["https://github.com/sponsors/orchetect"],"categories":[],"sub_categories":[],"readme":"# SwiftUnitInterval\n\n[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Forchetect%2Fswift-unit-interval%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/orchetect/swift-unit-interval) [![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Forchetect%2Fswift-unit-interval%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/orchetect/swift-unit-interval) [![License: MIT](http://img.shields.io/badge/License-MIT-lightgrey.svg?style=flat)](https://github.com/orchetect/swift-unit-interval/blob/main/LICENSE)\n\nProvides `UnitInterval` and `SignedUnitInterval` types for Swift.\n\nThese types are designed to work with floating-point unit interval values (`0.0 ... 1.0`) and their signed counterpart (`-1.0 ... 1.0`).\n\n## Getting Started\n\nThis library is available as a Swift Package Manager (SPM) package.\n\n1. Add the **swift-unit-interval** repo as a dependency.\n\n   ```swift\n   .package(url: \"https://github.com/orchetect/swift-unit-interval\", from: \"1.0.0\")\n   ```\n\n2. Add **SwiftUnitInterval** to your target.\n\n   ```swift\n   .product(name: \"SwiftUnitInterval\", package: \"swift-unit-interval\")\n   ```\n\n3. Import **SwiftUnitInterval** to use it.\n\n   ```swift\n   import SwiftUnitInterval\n   ```\n\n## Documentation\n\nSee the [online documentation](https://swiftpackageindex.com/orchetect/swift-unit-interval/documentation) for library usage\n\n## Author\n\nCoded by a bunch of 🐹 hamsters in a trenchcoat that calls itself [@orchetect](https://github.com/orchetect).\n\n## License\n\nLicensed under the MIT license. See [LICENSE](https://github.com/orchetect/swift-unit-interval/blob/main/LICENSE) for details.\n\n## Sponsoring\n\nIf you enjoy using this library and want to contribute to open-source financially, GitHub sponsorship is much appreciated. Feedback and code contributions are also welcome.\n\n## Community \u0026 Support\n\nPlease do not email maintainers for technical support. Several options are available for issues and questions:\n\n- Questions and feature ideas can be posted to [Discussions](https://github.com/orchetect/swift-unit-interval/discussions).\n- If an issue is a verifiable bug with reproducible steps it may be posted in [Issues](https://github.com/orchetect/swift-unit-interval/issues).\n\n## Contributions\n\nContributions are welcome. Posting in [Discussions](https://github.com/orchetect/swift-unit-interval/discussions) first prior to new submitting PRs for features or modifications is encouraged.\n\n## Code Quality \u0026 AI Contribution Policy\n\nIn an effort to maintain a consistent level of code quality and safety, this repository was built by hand and is maintained without the use of AI code generation.\n\nAI-assisted contributions are welcome, but must remain modest in scope, maintain the same degree of quality and care, and be thoroughly vetted before acceptance.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forchetect%2Fswift-unit-interval","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forchetect%2Fswift-unit-interval","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forchetect%2Fswift-unit-interval/lists"}