{"id":1342,"url":"https://github.com/icodeforlove/Colors","last_synced_at":"2025-08-02T04:30:53.489Z","repository":{"id":28294941,"uuid":"31807479","full_name":"icodeforlove/Colors","owner":"icodeforlove","description":"A pure Swift library for using ANSI codes. Basically makes command-line coloring and styling very easy!","archived":false,"fork":false,"pushed_at":"2017-02-16T14:29:14.000Z","size":18,"stargazers_count":28,"open_issues_count":2,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-10T01:37:15.835Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/icodeforlove.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":"2015-03-07T09:38:00.000Z","updated_at":"2023-07-31T02:27:34.000Z","dependencies_parsed_at":"2022-08-26T14:03:59.031Z","dependency_job_id":null,"html_url":"https://github.com/icodeforlove/Colors","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/icodeforlove/Colors","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icodeforlove%2FColors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icodeforlove%2FColors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icodeforlove%2FColors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icodeforlove%2FColors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icodeforlove","download_url":"https://codeload.github.com/icodeforlove/Colors/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icodeforlove%2FColors/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268334607,"owners_count":24233793,"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-08-02T02:00:12.353Z","response_time":74,"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":[],"created_at":"2024-01-05T20:15:44.230Z","updated_at":"2025-08-02T04:30:53.174Z","avatar_url":"https://github.com/icodeforlove.png","language":"Swift","funding_links":[],"categories":["Logging"],"sub_categories":["Other Hardware","Other free courses"],"readme":"Colors\n===========\nA pure Swift library for using ANSI codes. Basically makes command-line coloring and styling very easy!\n\n*Note: Colors `master` requires Xcode 7.3 / Swift 2.2.*\n\nUsage\n-----\nColors aims to have a simple and self-explanatory API.\n\n```swift\nimport Colors\n\n// one style\nprintln(\"foo\".red)\n\n// multiple styles\nprintln(\"foo\".red.bold)\n\n// multiple style sets\nprintln(\"foo\".red.bold + \"bar\".blue)\n\n// grouped styling\nprintln((\"foo\".red + \"bar\".blue).bold.underline)\n\n// resets\nprintln((\"foo\".red + \"bar\".blue).reset.red.underline.bold)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficodeforlove%2FColors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficodeforlove%2FColors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficodeforlove%2FColors/lists"}