{"id":21424208,"url":"https://github.com/thatsjustcheesy/inanycase","last_synced_at":"2025-03-16T20:42:26.808Z","repository":{"id":63921130,"uuid":"230681081","full_name":"ThatsJustCheesy/InAnyCase","owner":"ThatsJustCheesy","description":"Convert between programmer case styles, e.g., inAnyCase → in_any_case","archived":false,"fork":false,"pushed_at":"2021-11-27T18:29:50.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T09:24:44.949Z","etag":null,"topics":["code-style","code-style-modification","string-case","string-manipulation","string-transformations","swift","swift-package","swift-package-manager","swiftpm"],"latest_commit_sha":null,"homepage":null,"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/ThatsJustCheesy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-28T23:47:57.000Z","updated_at":"2021-11-27T18:25:59.000Z","dependencies_parsed_at":"2023-01-14T14:15:39.268Z","dependency_job_id":null,"html_url":"https://github.com/ThatsJustCheesy/InAnyCase","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatsJustCheesy%2FInAnyCase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatsJustCheesy%2FInAnyCase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatsJustCheesy%2FInAnyCase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThatsJustCheesy%2FInAnyCase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThatsJustCheesy","download_url":"https://codeload.github.com/ThatsJustCheesy/InAnyCase/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243933374,"owners_count":20370988,"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":["code-style","code-style-modification","string-case","string-manipulation","string-transformations","swift","swift-package","swift-package-manager","swiftpm"],"created_at":"2024-11-22T21:20:05.664Z","updated_at":"2025-03-16T20:42:26.771Z","avatar_url":"https://github.com/ThatsJustCheesy.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# InAnyCase\n\nMicro-library that converts between different identifier casing styles. e.g., \"camelCasedString\" → \"camel\\_cased\\_string\".\n\nSupported join styles:\n\n* camelStyle (`JoinStyle.camel`)\n* snake\\_style (`.snake`)\n* kebab-style (`.kebab`)\n* space style (`.space`)\n\nSupported case styles:\n\n* Preserve—don't modify case (`CaseStyle.preserve`)\n* CAPSSTYLE (`.caps`)\n* UpperStyle (`.upper`)\n* lowerUpperStyle (`.lowerUpper`)\n* lowerstyle (`.lower`)\n\nYou can implement extra join styles by conforming to `WordJoinStyle`: implement a split function and specify a join separator. \n\nYou can implement extra case styles using `WordCaseSimpleTransformer` and/or `WordCaseTransformer`. `WordCaseTransformer`s transform one word at a time given the current index. `WordCaseSimpleTransformer` is an implementation of `WordCaseTransformer` that applies another `WordCaseTransformer` for the first word, and then yet another for all subsequent words. `WordCase` implements the basic CAPS, Upper and lower transformations, or you can create your own.\n\nSee tests in `Tests/InAnyCaseTests/InAnyCaseTests.swift` for usage examples.\n\n## Licensing\n\nAvailable under the MIT License. See [`LICENSE.txt`](LICENSE.txt).\n\nThis library uses [sharplet/Regex], which is also provided by its author under the MIT License.\n\n[sharplet/Regex]: https://github.com/sharplet/Regex\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthatsjustcheesy%2Finanycase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthatsjustcheesy%2Finanycase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthatsjustcheesy%2Finanycase/lists"}