{"id":31917719,"url":"https://github.com/freysie/sql-formatting","last_synced_at":"2025-10-13T20:45:55.358Z","repository":{"id":54205252,"uuid":"425061165","full_name":"freysie/sql-formatting","owner":"freysie","description":"Popular SQL formatters bridged from JS and Perl to Swift.","archived":false,"fork":false,"pushed_at":"2024-03-09T21:27:52.000Z","size":219,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-03-09T22:25:16.549Z","etag":null,"topics":["formatter","sql","swift"],"latest_commit_sha":null,"homepage":"https://freyaalminde.github.io/documentation/sqlformatting","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/freysie.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}},"created_at":"2021-11-05T19:22:29.000Z","updated_at":"2024-03-09T22:25:18.405Z","dependencies_parsed_at":"2024-03-11T05:15:12.539Z","dependency_job_id":null,"html_url":"https://github.com/freysie/sql-formatting","commit_stats":null,"previous_names":["freysie/sql-formatting"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/freysie/sql-formatting","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freysie%2Fsql-formatting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freysie%2Fsql-formatting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freysie%2Fsql-formatting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freysie%2Fsql-formatting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freysie","download_url":"https://codeload.github.com/freysie/sql-formatting/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freysie%2Fsql-formatting/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279016917,"owners_count":26085911,"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-10-13T02:00:06.723Z","response_time":61,"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":["formatter","sql","swift"],"created_at":"2025-10-13T20:45:08.579Z","updated_at":"2025-10-13T20:45:55.353Z","avatar_url":"https://github.com/freysie.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SQL Formatting\n\nFormat SQL source on Apple platforms using [SQL Formatter](https://github.com/zeroturnaround/sql-formatter), [pgFormatter](https://github.com/darold/pgFormatter), and [pg-minify](https://github.com/vitaly-t/pg-minify).\n\n\n## Installation\n\n```swift\n.package(url: \"https://github.com/freysie/sql-formatting.git\", branch: \"main\")\n```\n\n```swift\nimport SQLFormatting\n```\n\n\n## Usage\n\n```swift\nSQLFormatter.formattedString(from: \"…\")\n\nSQLFormatter.formattedString(from: \"…\", indent: \"\\t\", uppercase: true)\n\nSQLFormatter.extendedFormattedString(from: \"…\")\n\nSQLFormatter.minifiedString(from: \"…\")\n\nSQLFormatter.minifiedString(from: \"…\", compress: true)\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreysie%2Fsql-formatting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreysie%2Fsql-formatting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreysie%2Fsql-formatting/lists"}