{"id":21186601,"url":"https://github.com/fetchte/colur","last_synced_at":"2025-03-14T20:18:14.796Z","repository":{"id":57203575,"uuid":"70555972","full_name":"fetchTe/colur","owner":"fetchTe","description":"A kool colur logger","archived":false,"fork":false,"pushed_at":"2017-09-30T04:46:29.000Z","size":40,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-08T20:44:43.690Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fetchTe.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":"2016-10-11T04:27:39.000Z","updated_at":"2016-10-11T04:29:29.000Z","dependencies_parsed_at":"2022-09-16T20:00:37.415Z","dependency_job_id":null,"html_url":"https://github.com/fetchTe/colur","commit_stats":null,"previous_names":["fetchte/colur","artisin/colur"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fetchTe%2Fcolur","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fetchTe%2Fcolur/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fetchTe%2Fcolur/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fetchTe%2Fcolur/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fetchTe","download_url":"https://codeload.github.com/fetchTe/colur/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243639555,"owners_count":20323511,"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-20T18:24:37.254Z","updated_at":"2025-03-14T20:18:14.770Z","avatar_url":"https://github.com/fetchTe.png","language":"JavaScript","readme":"# colur: a kool logger\n\n[![license](http://img.shields.io/badge/license-mit-3498db.svg)](https://github.com/artisin/colur/blob/master/LICENSE)\n[![wercker status](https://app.wercker.com/status/a432f5dddbb23e0ee1680892b3f511ef/s/master \"wercker status\")](https://app.wercker.com/project/byKey/a432f5dddbb23e0ee1680892b3f511ef)\n[![npm version](http://img.shields.io/npm/v/colur.svg)](https://www.npmjs.com/package/colur)\n\n\nAll right, it is not _that_ kool, but it is a stylized logger with [colors](https://www.npmjs.com/package/colors)! I needed a simple stylized colur logger for my test’s and other command console activity. PS. This is a node thang.\n\n\n### Parameters\n\n+ `colur(\u003clog-string\u003e, \u003coption\u003e)`\n+ `colur(\u003clog-string\u003e)`\n+ `return` -\u003e always returns the stylized logger string\n\n\n### Arguments\n\n+ `\u003clog-string\u003e` -\u003e `String`\n    * The string you with to log.\n+ `\u003coption\u003e` -\u003e `Object`\n+ `\u003coption\u003e.color` -\u003e `String`\n    * Can specify a custom color from the [colors](https://www.npmjs.com/package/colors) library. If you mess up and specify a color that does not exist, then it defaults to the default Green/White color.\n+ `\u003coption\u003e.stringCaps` -\u003e `Boolean =\u003e true`\n    * Includes `|\u003e` and `\u003c|` start and end caps.\n+ `\u003coption\u003e.endColor` -\u003e `Boolean =\u003e true`\n    * Use the end color which is `bgBlue.white.bold`.\n    * Alias: `end`\n+ `\u003coption\u003e.startColor` -\u003e `Boolean =\u003e true`\n    * Use the start color which is also the default color of `bgGreen.white.bold`.\n+ `\u003coption\u003e.consoleType` -\u003e `String`\n    * Can specify the console type, the default is `info`.\n    * Omit the `console` part, just include the modifier like `error`.\n+ `\u003coption\u003e.strReturn` -\u003e `Boolean =\u003e true`\n    * Does not invoke `console` and just returns the stylized logger string.\n+ `\u003coption\u003e.error` -\u003e `Boolean =\u003e true`\n    * A preset that sets the `console` to `error` and uses the color of `bgRed.white.bold`\n\n### Preview\n\n![Colur Preview](http://i.imgur.com/EID9OeT.png)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffetchte%2Fcolur","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffetchte%2Fcolur","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffetchte%2Fcolur/lists"}