{"id":17996742,"url":"https://github.com/cosmo/stringcase","last_synced_at":"2025-03-26T04:30:50.929Z","repository":{"id":63907236,"uuid":"205743546","full_name":"Cosmo/StringCase","owner":"Cosmo","description":"👇👆🐍 Converts String to lowerCamelCase, UpperCamelCase and snake_case. Tested and written in Swift.","archived":false,"fork":false,"pushed_at":"2021-05-30T10:19:47.000Z","size":11,"stargazers_count":16,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-21T05:22:09.826Z","etag":null,"topics":["hacktoberfest"],"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/Cosmo.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}},"created_at":"2019-09-01T23:21:08.000Z","updated_at":"2023-08-06T05:25:10.000Z","dependencies_parsed_at":"2022-11-28T22:49:15.402Z","dependency_job_id":null,"html_url":"https://github.com/Cosmo/StringCase","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/Cosmo%2FStringCase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cosmo%2FStringCase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cosmo%2FStringCase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cosmo%2FStringCase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cosmo","download_url":"https://codeload.github.com/Cosmo/StringCase/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245589155,"owners_count":20640234,"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":["hacktoberfest"],"created_at":"2024-10-29T21:15:42.711Z","updated_at":"2025-03-26T04:30:50.674Z","avatar_url":"https://github.com/Cosmo.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StringCase\n\nConverts `String` to `lowerCamelCase`, `UpperCamelCase` and `snake_case`.\n\n## Usage\n\n### Transformation\n\n```swift\nlet input = \"Keynote Event\"\n\ninput.lowerCamelCased() // \"keynoteEvent\"\ninput.upperCamelCased() // \"KeynoteEvent\"\ninput.snakeCased()      // \"keynote_event\"\n```\n\n```swift\nlet input = \"_this is*  not-Very%difficult\"\n\ninput.lowerCamelCased() // \"thisIsNotVeryDifficult\"\ninput.upperCamelCased() // \"ThisIsNotVeryDifficult\"\ninput.snakeCased()      // \"this_is_not_very_difficult\"\n```\n\n### Boolean checks\n\n```swift\n\"KeynoteEvent\".isLowerCamelCased    // false\n\"keynoteEvent\".isLowerCamelCased    // true\n\"keynote_event\".isLowerCamelCased   // false\n```\n\n```swift\n\"KeynoteEvent\".isUpperCamelCased    // true\n\"keynoteEvent\".isUpperCamelCased    // false\n\"keynote_event\".isUpperCamelCased   // false\n```\n\n```swift\n\"KeynoteEvent\".isSnakeCase          // false\n\"keynoteEvent\".isSnakeCase          // false\n\"keynote_event\".isSnakeCase         // true\n```\n\n## Contact\n\n* Devran \"Cosmo\" Uenal\n* Twitter: [@maccosmo](http://twitter.com/maccosmo)\n* LinkedIn: [devranuenal](https://www.linkedin.com/in/devranuenal)\n\n## Other Projects\n\n* [BinaryKit](https://github.com/Cosmo/BinaryKit) — BinaryKit helps you to break down binary data into bits and bytes and easily access specific parts.\n* [Clippy](https://github.com/Cosmo/Clippy) — Clippy from Microsoft Office is back and runs on macOS! Written in Swift.\n* [GrammaticalNumber](https://github.com/Cosmo/GrammaticalNumber) — Turns singular words to the plural and vice-versa in Swift.\n* [HackMan](https://github.com/Cosmo/HackMan) — Stop writing boilerplate code yourself. Let hackman do it for you via the command line.\n* [ISO8859](https://github.com/Cosmo/ISO8859) — Convert ISO8859 1-16 Encoded Text to String in Swift. Supports iOS, tvOS, watchOS and macOS.\n* [SpriteMap](https://github.com/Cosmo/SpriteMap) — SpriteMap helps you to extract sprites out of a sprite map. Written in Swift.\n* [TinyConsole](https://github.com/Cosmo/TinyConsole) — TinyConsole is a micro-console that can help you log and display information inside an iOS application, where having a connection to a development computer is not possible.\n\n\n## License\n\nStringCase is released under the [MIT License](http://www.opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosmo%2Fstringcase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcosmo%2Fstringcase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosmo%2Fstringcase/lists"}