{"id":32305962,"url":"https://github.com/akaiser/yaansi","last_synced_at":"2026-02-25T16:03:32.776Z","repository":{"id":218145296,"uuid":"745729393","full_name":"akaiser/yaansi","owner":"akaiser","description":"Yet another ANSI implementation! A utility package to color your terminal.","archived":false,"fork":false,"pushed_at":"2025-11-24T09:25:54.000Z","size":87,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-27T21:53:01.550Z","etag":null,"topics":["ansi","dart"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/yaansi","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/akaiser.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-01-20T01:11:26.000Z","updated_at":"2025-11-24T09:25:57.000Z","dependencies_parsed_at":"2024-01-20T02:09:25.770Z","dependency_job_id":"b9db9645-7d86-4b5b-96ca-6866bb47cbe5","html_url":"https://github.com/akaiser/yaansi","commit_stats":null,"previous_names":["akaiser/yaansi"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/akaiser/yaansi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akaiser%2Fyaansi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akaiser%2Fyaansi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akaiser%2Fyaansi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akaiser%2Fyaansi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akaiser","download_url":"https://codeload.github.com/akaiser/yaansi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akaiser%2Fyaansi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29829410,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T15:41:19.027Z","status":"ssl_error","status_checked_at":"2026-02-25T15:40:47.150Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ansi","dart"],"created_at":"2025-10-23T06:58:59.235Z","updated_at":"2026-02-25T16:03:32.761Z","avatar_url":"https://github.com/akaiser.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yaansi\n\nYet another ANSI implementation! A utility package to color your terminal.\n\nNotable source: https://gist.github.com/fnky/458719343aabd01cfb17a3a4f7296797\n\n## Usage\n\n### Installation\n\n```bash\ndart pub add yaansi\n```\n\n### Example:\n\n```dart\nimport 'package:yaansi/yaansi.dart';\n\nvoid main() {\n  // extensions\n  print('Lorem ipsum'.bold.red);\n\n  // functions\n  print(blue(italic('Lorem ipsum')));\n\n  // inline mixing and nesting\n  print('${green(' Lorem').bold} ${redBg(' ipsum ').white}'.whiteBg);\n\n  // reusable styling\n  const style = YaansiStyle(\n    color: YaansiColor.yellow,\n    bgColor: YaansiColor.black,\n    modes: {YaansiMode.bold, YaansiMode.italic},\n  );\n  print(style.apply('One'));\n  print(style.apply('Two'));\n}\n ```\n\n![example output](https://raw.githubusercontent.com/akaiser/yaansi/main/images/example.png)\n\n## Notes\n\n- Supports only basic colors and modes.\n\n## License\n\nSee the [LICENSE](LICENSE) file.\n\n## Version history\n\nSee the [CHANGELOG.md](CHANGELOG.md) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakaiser%2Fyaansi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakaiser%2Fyaansi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakaiser%2Fyaansi/lists"}