{"id":22796272,"url":"https://github.com/makerxstudio/color-console","last_synced_at":"2026-04-27T12:01:45.826Z","repository":{"id":223986529,"uuid":"762011459","full_name":"MakerXStudio/color-console","owner":"MakerXStudio","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-20T14:28:28.000Z","size":105,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-08T19:10:00.848Z","etag":null,"topics":["console","library","nodejs","typescript"],"latest_commit_sha":null,"homepage":"","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/MakerXStudio.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":"2024-02-22T22:55:48.000Z","updated_at":"2024-04-18T14:31:48.000Z","dependencies_parsed_at":"2024-02-23T05:23:49.781Z","dependency_job_id":"55d7cb96-768a-47f7-8073-dcde045d7773","html_url":"https://github.com/MakerXStudio/color-console","commit_stats":{"total_commits":2,"total_committers":2,"mean_commits":1.0,"dds":0.5,"last_synced_commit":"b040c948629bc6ed2bb71f22c590a5d66b84ff68"},"previous_names":["makerxstudio/color-console"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MakerXStudio/color-console","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MakerXStudio%2Fcolor-console","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MakerXStudio%2Fcolor-console/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MakerXStudio%2Fcolor-console/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MakerXStudio%2Fcolor-console/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MakerXStudio","download_url":"https://codeload.github.com/MakerXStudio/color-console/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MakerXStudio%2Fcolor-console/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32335297,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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":["console","library","nodejs","typescript"],"created_at":"2024-12-12T05:11:45.417Z","updated_at":"2026-04-27T12:01:45.810Z","avatar_url":"https://github.com/MakerXStudio.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @makerx/color-console\n\nWraps [chalk](https://github.com/chalk/chalk) and [console](https://developer.mozilla.org/en-US/docs/Web/API/console) to provide a console interface which automatically formats [tagged template literals](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#tagged_templates) with base text and interpolated arguments in different colours.\n\n## Installation\n\n```shell\nnpm i @makerx/color-console --save\n```\n\n\n## Example\n\n```ts\nimport { colorConsole, createColorFormatter } from './index'\nimport chalk from 'chalk'\n\n// Use the default colorConsole object\ncolorConsole.log`Example of log with args ${1}, ${2}, ${'three'}`\ncolorConsole.info`Example of info with args ${1}, ${2}, ${'three'}`\ncolorConsole.warn`Example of warn with args ${1}, ${2}, ${'three'}`\ncolorConsole.error`Example of error with args ${1}, ${2}, ${'three'}`\ncolorConsole.success`Example of success with args ${1}, ${2}, ${'three'}`\n\n// Create your own custom formatter\nconst customLogger = createColorFormatter(chalk.magenta, chalk.greenBright, 'log', console)\n\ncustomLogger`Example of custom with args ${1}, ${2}, ${'three'}`\n```\n\nwill result in\n\n![Example output](./docs/example.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakerxstudio%2Fcolor-console","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmakerxstudio%2Fcolor-console","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakerxstudio%2Fcolor-console/lists"}