{"id":16755995,"url":"https://github.com/obbut/almostforceunwrap","last_synced_at":"2025-10-25T09:33:15.865Z","repository":{"id":63919471,"uuid":"76448979","full_name":"Obbut/AlmostForceUnwrap","owner":"Obbut","description":"Throwing force unwrap operator for Swift","archived":false,"fork":false,"pushed_at":"2018-09-14T14:12:51.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-22T20:05:46.234Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Obbut.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-14T10:21:32.000Z","updated_at":"2018-09-14T14:12:27.000Z","dependencies_parsed_at":"2023-01-14T14:00:51.075Z","dependency_job_id":null,"html_url":"https://github.com/Obbut/AlmostForceUnwrap","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Obbut%2FAlmostForceUnwrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Obbut%2FAlmostForceUnwrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Obbut%2FAlmostForceUnwrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Obbut%2FAlmostForceUnwrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Obbut","download_url":"https://codeload.github.com/Obbut/AlmostForceUnwrap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243835937,"owners_count":20355611,"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","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-10-13T03:24:30.960Z","updated_at":"2025-10-25T09:33:15.785Z","avatar_url":"https://github.com/Obbut.png","language":"Swift","readme":"# AlmostForceUnwrap\nThrowing force unwrap operator for Swift\n\nThis library defines a new postfix operator, `⁉`, for Swift. It behaves like the the normal force unwrap operator(`!`) but instead of crashing your application, it throws an error.\n\n```swift\nlet optionalString: String? = \"Cheese\"\nlet nonOptionalString: String = try optionalString⁉\n```\n\n## Usage\n\nUse the Swift Package Manager:\n\n```swift\nimport PackageDescription\n\nlet package = Package(\n    name: \"MyApp\",\n    dependencies: [\n        .Package(url: \"https://github.com/Obbut/AlmostForceUnwrap.git\", majorVersion: 0, minor: 1)\n    ]\n)\n```\n\nImport it:\n\n```swift\nimport AlmostForceUnwrap\n```\n\nNow you can use the operator yourself.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobbut%2Falmostforceunwrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fobbut%2Falmostforceunwrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobbut%2Falmostforceunwrap/lists"}