{"id":19001853,"url":"https://github.com/generalsimus/colby","last_synced_at":"2026-04-20T00:30:24.765Z","repository":{"id":230245460,"uuid":"586086621","full_name":"Generalsimus/colby","owner":"Generalsimus","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-20T19:00:32.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-03T18:55:39.626Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/Generalsimus.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,"publiccode":null,"codemeta":null}},"created_at":"2023-01-06T22:50:23.000Z","updated_at":"2024-02-03T18:33:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"6ce1b8cb-b48a-4f74-b5ae-23da29726901","html_url":"https://github.com/Generalsimus/colby","commit_stats":{"total_commits":10,"total_committers":1,"mean_commits":10.0,"dds":0.0,"last_synced_commit":"0c5d7c72ecabb7d1fcd198527c441670f1ca5971"},"previous_names":["generalsimus/colby"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Generalsimus%2Fcolby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Generalsimus%2Fcolby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Generalsimus%2Fcolby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Generalsimus%2Fcolby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Generalsimus","download_url":"https://codeload.github.com/Generalsimus/colby/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240021876,"owners_count":19735387,"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-08T18:13:03.954Z","updated_at":"2026-04-20T00:30:24.707Z","avatar_url":"https://github.com/Generalsimus.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Colby](https://www.npmjs.com/package/colby)\n#### The fastest library for ANSI colors and highlighting console logs\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm href][standard-js-src]][standard-js-href]\n\n\u003c!-- Refs --\u003e\n\n[standard-js-src]: https://img.shields.io/badge/license-MIT-brightgreen?\u0026style=flat-square\n[standard-js-href]: https://github.com/Generalsimus/colby/blob/master/LICENSE\n[npm-version-src]: https://img.shields.io/npm/v/colby?\u0026style=flat-square\n[npm-version-href]: https://www.npmjs.com/package/colby\n\n### RGB Color\n\n```js\nconst { toRgb } = require(\"colby/toRgb\");\n\nconsole.log(toRgb(200, 1, 1)(\"This text is rgb(200, 1, 1) red!\"));\n\nconst blueColor = toRgb(0, 0, 255);\n\nconsole.log(blueColor(\"Background of this text is rgb(0, 0, 255) blue!\", true));\n```\n![1](https://user-images.githubusercontent.com/33871030/211204025-c2e3ee05-7ec7-45e9-81b7-0f8209d45d97.png)\n\n### HEX Color\n\n```js\nconst { toHex } = require(\"colby/toHex\");\n\nconsole.log(toHex(\"#FF0000\")(\"This text is #FF0000 red!\"));\n\nconst blueColor = toHex(\"#0000FF\");\n\nconsole.log(blueColor(\"Background of this text is #0000FF blue!\", true));\n```\n![2](https://user-images.githubusercontent.com/33871030/211204037-109c0049-d468-42fd-8701-60e50e78708a.png)\n\n### Default Colors\n\n```js\nconst { color } = require(\"colby/color\");\n\nconsole.log(color.Red(\"This text is red\"));\nconsole.log(color.Green(\"This text is green\"));\nconsole.log(color.Cyan(\"This text is cyan\"));\nconsole.log(color.Yellow(\"This text is yellow\"));\n\n// text Background-color\nconsole.log(color.Red(\"Background of this text is red\", true));\nconsole.log(color.Green(\"Background of this text is green\", true));\nconsole.log(color.Cyan(\"Background of this text is cyan\", true));\nconsole.log(color.Yellow(\"Background of this text is yellow\", true));\n```\n![3](https://user-images.githubusercontent.com/33871030/211204045-721e48f5-05e2-4d09-9cb6-ec8f7db4563b.png)\n\n### Style\n\n```js\nconst { style } = require(\"colby/style\");\n\nconsole.log(style.Underlined(\"text with underline\"));\nconsole.log(style.Dim(\"Text with dim\"));\nconsole.log(style.Italic(\"Text with italic\"));\nconsole.log(style.Reverse(\"Text with reverse\"));\nconsole.log(style.StrikeThrough(\"Text with strike through\"));\n```\n![4](https://user-images.githubusercontent.com/33871030/211204050-f51554ad-5945-46af-85e0-637c43bafbc2.png)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeneralsimus%2Fcolby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeneralsimus%2Fcolby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeneralsimus%2Fcolby/lists"}