{"id":23143090,"url":"https://github.com/cleancocoa/version","last_synced_at":"2026-02-13T14:02:08.900Z","repository":{"id":87401490,"uuid":"280631124","full_name":"CleanCocoa/Version","owner":"CleanCocoa","description":"Swift µ-library to express semantic version numbers and parse from strings.","archived":false,"fork":false,"pushed_at":"2024-11-15T10:09:03.000Z","size":10,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T08:35:10.147Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":false,"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/CleanCocoa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2020-07-18T10:15:31.000Z","updated_at":"2024-11-15T10:08:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"5456e4c6-6a74-4f78-bd74-a199ff3451bb","html_url":"https://github.com/CleanCocoa/Version","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/CleanCocoa/Version","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleanCocoa%2FVersion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleanCocoa%2FVersion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleanCocoa%2FVersion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleanCocoa%2FVersion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CleanCocoa","download_url":"https://codeload.github.com/CleanCocoa/Version/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CleanCocoa%2FVersion/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270859361,"owners_count":24658193,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"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":[],"created_at":"2024-12-17T15:12:07.825Z","updated_at":"2026-02-13T14:02:03.849Z","avatar_url":"https://github.com/CleanCocoa.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Version\n\nSwift µ-library to represent (semantic) Versions in code, including parsing from String.\n\n## Usage\n\n```swift\nimport Version\n\nlet version = Version(2, 3, 4)\nprint(version) // =\u003e \"2.3.4\"\n\nlet update = Version(fromString: \"2.3.5\")\nprint(update.major) // =\u003e \"2\"\nprint(update.minor) // =\u003e \"3\"\nprint(update.patch) // =\u003e \"5\"\n```\n\n## Alternatives\n\n- \u003chttps://github.com/mrackwitz/Version\u003e: More features! It comes with conveniences to get versions from `NSBundle` and `UIDevice`; allows appending `prerelease` and `build` attributes to represent e.g. `\"1.2.3-alpha.1+B001\"`.\n\n## License\n\n Copyright © 2020 Christian Tietze. All rights reserved. Distributed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcleancocoa%2Fversion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcleancocoa%2Fversion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcleancocoa%2Fversion/lists"}