{"id":17977942,"url":"https://github.com/coderyi/stringformat","last_synced_at":"2025-06-11T21:06:45.537Z","repository":{"id":62456135,"uuid":"320746267","full_name":"coderyi/StringFormat","owner":"coderyi","description":"A String Format Kit","archived":false,"fork":false,"pushed_at":"2021-07-24T06:55:30.000Z","size":20,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T00:26:17.701Z","etag":null,"topics":["ios","string","stringextension","stringformat","stringformatter","swift","url"],"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/coderyi.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":"2020-12-12T04:19:07.000Z","updated_at":"2025-01-01T13:21:25.000Z","dependencies_parsed_at":"2022-11-02T00:00:58.814Z","dependency_job_id":null,"html_url":"https://github.com/coderyi/StringFormat","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/coderyi/StringFormat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderyi%2FStringFormat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderyi%2FStringFormat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderyi%2FStringFormat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderyi%2FStringFormat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderyi","download_url":"https://codeload.github.com/coderyi/StringFormat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderyi%2FStringFormat/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259340641,"owners_count":22843031,"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":["ios","string","stringextension","stringformat","stringformatter","swift","url"],"created_at":"2024-10-29T17:30:13.978Z","updated_at":"2025-06-11T21:06:45.517Z","avatar_url":"https://github.com/coderyi.png","language":"Swift","readme":"### CocoaPods\n\n\n```ruby\npod 'StringFormat'\n```\n\n\n## Features\n\n- StringFormat\n\t- Date\n\t- DeviceType\n\t- Duration\n\t- Geo\n\t- Locale\n\t- Number\n\t- URLEscaping\n- String Extension\n\t- Image\n\t- URL\n\t- Emoji\n\t- Hash\n\t- Padding\n\t- File\n\n## Usage\n\n```\nStringFormat.stringForDeviceType() // iPhone\nStringFormat.stringForDuration(122) // 2:02\nStringFormat.isValidUrl(\"https://github.com\") // true\n\nvar test: String = \"hello\"\ntest = test.rightJustified(width: 6) // \" hello\"\n```\n\n## License\nReleased under [MIT License](LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderyi%2Fstringformat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderyi%2Fstringformat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderyi%2Fstringformat/lists"}