{"id":19176320,"url":"https://github.com/dergoogler/node-konsole","last_synced_at":"2025-06-27T16:32:39.366Z","repository":{"id":63442142,"uuid":"567416968","full_name":"DerGoogler/node-konsole","owner":"DerGoogler","description":"Powerful zero dependency and single import console logging tool for Node.js","archived":false,"fork":false,"pushed_at":"2022-11-19T17:40:09.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-29T14:14:19.145Z","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/DerGoogler.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":"2022-11-17T18:42:05.000Z","updated_at":"2022-11-17T18:43:21.000Z","dependencies_parsed_at":"2023-01-22T17:16:06.061Z","dependency_job_id":null,"html_url":"https://github.com/DerGoogler/node-konsole","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DerGoogler/node-konsole","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DerGoogler%2Fnode-konsole","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DerGoogler%2Fnode-konsole/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DerGoogler%2Fnode-konsole/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DerGoogler%2Fnode-konsole/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DerGoogler","download_url":"https://codeload.github.com/DerGoogler/node-konsole/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DerGoogler%2Fnode-konsole/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262293444,"owners_count":23288748,"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-09T10:28:03.192Z","updated_at":"2025-06-27T16:32:39.344Z","avatar_url":"https://github.com/DerGoogler.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-konsole\r\n\r\nPowerful zero dependency and single import console logging tool for Node.js\r\n\r\n## Install\r\n\r\n```shell\r\nnpm install --save node-konsole\r\n```\r\n\r\n## Usage\r\n\r\n```js\r\n// it doesn't matter it default imported or not\r\n// import { konsole } from 'node-konsole';\r\nimport konsole from \"node-konsole\";\r\n\r\n// \u003c0\u003e is the same like \u003cr\u003e or \u003creset\u003e\r\nkonsole.log(\"\u003cblue\u003e\u003cunderscore\u003eI'm blue underscored\u003cred\u003e!\u003c0\u003e\");\r\n```\r\n\r\n### Get by code\r\n\r\nYou can get the color by thier code, like this:\r\n\r\n```js\r\nimport konsole from \"node-konsole\";\r\n\r\nkonsole.log(\"\u003c30\u003eSome colored text\u003c0\u003e\");\r\n\r\n// Expirental usage, may not work at all.\r\nkonsole.log(\"\u003c30:5\u003eSome colored text\u003c0\u003e\");\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdergoogler%2Fnode-konsole","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdergoogler%2Fnode-konsole","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdergoogler%2Fnode-konsole/lists"}