{"id":16701243,"url":"https://github.com/eproxus/color","last_synced_at":"2025-04-10T04:10:45.898Z","repository":{"id":14755875,"uuid":"17477129","full_name":"eproxus/color","owner":"eproxus","description":"Shell ANSI coloring for erlang","archived":false,"fork":false,"pushed_at":"2021-04-21T12:21:17.000Z","size":308,"stargazers_count":11,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T05:26:26.920Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"go-telegram-bot-api/telegram-bot-api","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eproxus.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":"2014-03-06T12:35:47.000Z","updated_at":"2018-12-06T14:10:02.000Z","dependencies_parsed_at":"2022-09-03T13:52:55.420Z","dependency_job_id":null,"html_url":"https://github.com/eproxus/color","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eproxus%2Fcolor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eproxus%2Fcolor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eproxus%2Fcolor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eproxus%2Fcolor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eproxus","download_url":"https://codeload.github.com/eproxus/color/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248154987,"owners_count":21056543,"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-10-12T18:43:20.707Z","updated_at":"2025-04-10T04:10:45.875Z","avatar_url":"https://github.com/eproxus.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# Color #\n\n\nShell ANSI coloring for Erlang.\n\n## Usage\n\nColor exports two sets of functions, color names and a generic formatting\nfunction (`p`). Both functions takes IO data and returns IO data (they never\nprint anything themselves). The following colors are supported as functions:\n\n* `black`\n* `red`\n* `green`\n* `yellow`\n* `blue`\n* `purple`\n* `cyan`\n* `white`\n\nThey can be called directly, e.g. `color:yellow(IOData)`. The generic\nformatting function `p` takes two arguments, IO data and options. In addition\nto the colors above, it also supports:\n\n* `light_black`\n* `light_red`\n* `light_green`\n* `light_yellow`\n* `light_blue`\n* `light_purple`\n* `light_cyan`\n* `light_white`\n\nIt also supports several modes:\n\n* `normal`\n* `bold`\n* `underline`\n* `blink`\n\nThe options list can be any combination of these colors or modes.\nTo assign a background color, simple include two colors. The first will be used\nas the foreground color, and the second will be used as the background color\n(to set only the background color, include `inherit` as the foreground color).\n\nExamples:\n\n* `color:p(\"text\", [yellow])` (same as `color:yellow(\"text\")`)\n* `color:p(\"text\", [green, red, bold])` (bold green text on red background)\n* `color:p(\"text\", [inherit, blue])` (normal text on blue background)\n* `color:p(\"text\", [bold, underline])` (normal bold and underlined text)\n\n\n## Modules ##\n\n\n\u003ctable width=\"100%\" border=\"0\" summary=\"list of modules\"\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"https://github.com/eproxus/color/blob/master/doc/color.md\" class=\"module\"\u003ecolor\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feproxus%2Fcolor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feproxus%2Fcolor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feproxus%2Fcolor/lists"}