{"id":19560128,"url":"https://github.com/plotdb/colors","last_synced_at":"2026-01-28T12:03:42.450Z","repository":{"id":79657921,"uuid":"446701743","full_name":"plotdb/colors","owner":"plotdb","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-03T03:41:02.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-04T14:17:12.764Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"LiveScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/plotdb.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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":"2022-01-11T06:21:28.000Z","updated_at":"2022-01-11T06:40:06.000Z","dependencies_parsed_at":"2023-05-14T07:00:16.397Z","dependency_job_id":null,"html_url":"https://github.com/plotdb/colors","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/plotdb/colors","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plotdb%2Fcolors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plotdb%2Fcolors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plotdb%2Fcolors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plotdb%2Fcolors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plotdb","download_url":"https://codeload.github.com/plotdb/colors/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plotdb%2Fcolors/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28845103,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T10:53:21.605Z","status":"ssl_error","status_checked_at":"2026-01-28T10:53:20.789Z","response_time":57,"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":[],"created_at":"2024-11-11T05:06:14.354Z","updated_at":"2026-01-28T12:03:42.437Z","avatar_url":"https://github.com/plotdb.png","language":"LiveScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @plotdb/colors\n\nget colors in your node.js console.\n\n\n## Installation\n\n    npm install --save @plotdb/colors\n\n\n## Usage\n\n    require(\"@plotdb/colors\")\n    console.log(\"some colored text\".red);\n    console.log(\"some colored text with red background\".bgRed.yellow);\n    colors.disable(); /* colored outputs are disabled after this */\n    console.log(\"some text without style / color\".bgRed.yellow);\n    colors.enable(); /* colored outputs are disabled after this */\n    console.log(\"color is back\".bgRed.yellow);\n    colors.red(\"some red text\");\n    colors.green.underline(\"some red text\"); /* recursively */\n    colors.green.underline.red(\"some red text\"); /* will be red. high priority for deeper styles */\n \n\n## Colors and Styles\n\n| fg      | bright fg     | bg        | bright bg       | styles        |\n|---------|---------------|-----------|-----------------|---------------|\n| black   | brightRed     | bgBlack   | bgBrightRed     | reset         |\n| red     | brightGreen   | bgRed     | bgBrightGreen   | bold          |\n| green   | brightYellow  | bgGreen   | bgBrightYellow  | dim           |\n| yellow  | brightBlue    | bgYellow  | bgBrightBlue    | italic        |\n| blue    | brightMagenta | bgBlue    | bgBrightMagenta | underline     |\n| magenta | brightCyan    | bgMagenta | bgBrightCyan    | inverse       |\n| cyan    | brightWhite   | bgCyan    | bgBrightWhite   | hidden        |\n| white   |               | bgWhite   |                 | strikethrough |\n| gray    |               | bgGray    |                 |               |\n| grey    |               | bgGrey    |                 |               |\n\n\n## Note\n\n`@plotdb/colors` extends String.prototype directly which may not be a good approach.\n\n\n## Reference\n\n - https://github.com/marak/colors.js/\n\n\n## License\n\nMIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplotdb%2Fcolors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplotdb%2Fcolors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplotdb%2Fcolors/lists"}