{"id":16486003,"url":"https://github.com/roziscoding/coloredlog","last_synced_at":"2026-06-10T12:31:07.722Z","repository":{"id":57203429,"uuid":"91987936","full_name":"roziscoding/coloredlog","owner":"roziscoding","description":"Simple package to log properly colored messages to proper output streams","archived":false,"fork":false,"pushed_at":"2017-05-21T21:32:57.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-26T02:19:32.542Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/roziscoding.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-21T21:13:41.000Z","updated_at":"2020-06-08T14:57:48.000Z","dependencies_parsed_at":"2022-09-17T15:02:34.241Z","dependency_job_id":null,"html_url":"https://github.com/roziscoding/coloredlog","commit_stats":null,"previous_names":["rjmunhoz/coloredlog"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/roziscoding/coloredlog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roziscoding%2Fcoloredlog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roziscoding%2Fcoloredlog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roziscoding%2Fcoloredlog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roziscoding%2Fcoloredlog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roziscoding","download_url":"https://codeload.github.com/roziscoding/coloredlog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roziscoding%2Fcoloredlog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34153482,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"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":[],"created_at":"2024-10-11T13:28:03.929Z","updated_at":"2026-06-10T12:31:07.703Z","avatar_url":"https://github.com/roziscoding.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# coloredlog\nThis is a simple utility to log stuff to console without having to manually color it.\n\n## Why?\n    Aren't there many log libraries already?\nSure! But I wasn't satisfied by any of them, since they either had too much or too little stuff, so I always ended up copying and pasting the same files over all my projects, untill I finally decided I wanted to be able to `yarn add coloredlog`, and here we are xD\n\n## Usage\nJust watch and repeat :P\n\n```js\nimport {log, info, error, warn} from 'coloredlog';\n\nlog('This will be output to console.log with a blue color');\n\ninfo('This will be output to console.info with a cyan color');\n\nerror('This will be output to console.error with a red color');\n\nwarn('This will be output to console.warn with a yellow color');\n```\n\n## NODE_ENV\nIf you set `NODE_ENV` environment variable to either `test` or `silent`, this module will shut it's mouth up. Useful for when you're running automated tests and don't want stuff getting in your way.\n\n## Contributing\nCom'on, you already know how to do this!\nJust PR me, I'll be happy to reveal and merge :D\n\n## TODO\n - Integrate [prettyjson](https://www.npmjs.com/package/prettyjson) to format objects, when wanted;\n - Support custom colors for each output stream","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froziscoding%2Fcoloredlog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froziscoding%2Fcoloredlog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froziscoding%2Fcoloredlog/lists"}