{"id":21201651,"url":"https://github.com/oleander/ansi","last_synced_at":"2025-07-10T06:31:45.653Z","repository":{"id":56902063,"uuid":"90417064","full_name":"oleander/Ansi","owner":"oleander","description":"Ansi parser written in Swift 3 for constructing NSAttributedStrings","archived":false,"fork":false,"pushed_at":"2017-05-13T22:50:14.000Z","size":44,"stargazers_count":14,"open_issues_count":0,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-25T14:17:24.997Z","etag":null,"topics":[],"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/oleander.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":"2017-05-05T21:17:59.000Z","updated_at":"2025-01-25T12:09:19.000Z","dependencies_parsed_at":"2022-08-20T18:50:29.311Z","dependency_job_id":null,"html_url":"https://github.com/oleander/Ansi","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/oleander/Ansi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleander%2FAnsi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleander%2FAnsi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleander%2FAnsi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleander%2FAnsi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oleander","download_url":"https://codeload.github.com/oleander/Ansi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oleander%2FAnsi/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264538581,"owners_count":23624436,"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":[],"created_at":"2024-11-20T20:10:21.955Z","updated_at":"2025-07-10T06:31:45.281Z","avatar_url":"https://github.com/oleander.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansi [![Status](https://travis-ci.org/oleander/Ansi.svg?branch=master)](https://travis-ci.org/oleander/Ansi)\n\nAnsi parser written in Swift 3 for constructing `NSAttributedString`s. Currently supports 8 \u0026 256 bit colors, italic, strikethrough, underline and bold text.\n\n## Usage\n\n```swift\nimport Ansi\n\nlet attr = \"ABC\\\\e[3;4;33mDEF\\\\e[0mGHI\".ansified()\nattr // =\u003e \"ABC\" + \"DEF\".italic.underline.yellow + \"GHI\"\nattr.string // =\u003e \"ABCDEF GHI\"\n```\n\n## Install\n\nAdd `pod 'Ansi'` to your `Podfile` and run `pod install`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foleander%2Fansi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foleander%2Fansi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foleander%2Fansi/lists"}