{"id":18870365,"url":"https://github.com/streetstrider/console-ultimate","last_synced_at":"2025-04-14T15:21:32.375Z","repository":{"id":28746210,"uuid":"32268085","full_name":"StreetStrider/console-ultimate","owner":"StreetStrider","description":"Node-compatible `console` object with extra features","archived":false,"fork":false,"pushed_at":"2025-03-23T18:28:13.000Z","size":1278,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T15:21:31.451Z","etag":null,"topics":["console","node"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StreetStrider.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,"zenodo":null}},"created_at":"2015-03-15T15:35:48.000Z","updated_at":"2025-03-23T18:27:41.000Z","dependencies_parsed_at":"2024-06-09T19:24:02.498Z","dependency_job_id":"ee2048ee-c80c-445b-bf31-47488e815e07","html_url":"https://github.com/StreetStrider/console-ultimate","commit_stats":{"total_commits":164,"total_committers":1,"mean_commits":164.0,"dds":0.0,"last_synced_commit":"ef4c6104758307c8b636777fd63b428f24827266"},"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StreetStrider%2Fconsole-ultimate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StreetStrider%2Fconsole-ultimate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StreetStrider%2Fconsole-ultimate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StreetStrider%2Fconsole-ultimate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StreetStrider","download_url":"https://codeload.github.com/StreetStrider/console-ultimate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248904626,"owners_count":21180836,"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":["console","node"],"created_at":"2024-11-08T05:19:52.064Z","updated_at":"2025-04-14T15:21:32.369Z","avatar_url":"https://github.com/StreetStrider.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cp align='center'\u003e\n  \u003ca href='https://www.npmjs.org/package/console-ultimate'\u003e\n    \u003cimg alt='npm|console-ultimate' src='http://img.shields.io/badge/npm-console--ultimate-CB3837?style=flat-square'\u003e\n  \u003c/a\u003e\n\n  \u003ca href='https://nodejs.org/api/esm.html'\u003e\n    \u003cimg alt='ESM' src='http://img.shields.io/badge/module-ESM-F7DF1E?style=flat-square'\u003e\n  \u003c/a\u003e\n\n  \u003ca href='#license'\u003e\n    \u003cimg alt='ISC licensed' src='http://img.shields.io/badge/license-ISC-3AB164?style=flat-square'\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align='center'\u003e\n  \u003ca href='https://www.npmjs.org/package/console-ultimate'\u003e\n    \u003cimg src='/assets/b.png' width='65%'\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n# What's this?\nThis is an opinionated console for Node with some default styling and additional features.\nThe main focus is to be Node-compatible console with more pretty look and feel.\nThere's also some additional features.\nTurn it on with one line and get all the benefits at once.\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cimg src='assets/s1.png'\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg src='assets/s3.png'\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n# What's included?\n* Fully Node-compatible API. So **console-ultimate** can replace **`console`** globally.\n* Nicely looking `log`, `info`, `warn`, `error`. They are colored, so more distinctive in terminal.\nAlso some unicode decorations included.\n* Better stack traces and overall `error` formatting. Stack trace is cleared from internal entries (`console.error`, `console.trace`).\n* Nice grouping (`console.group`) with visual indentation and pseudographics.\n* `console.table` with adequate table width, including ansi-colored things, nice borders and colors.\n* FP-friendly loggers that can passthrough value, so they can be used in pipes (`.then`, `.map` etc…).\n* All other stuff, like `console.count` and `console.time`.\n* Deprecated methods are also supported for compability (`console.debug`, `console.dirxml`).\n\n# Differences between v3 and v4\nBy the time of v3 the package was implemented with the help of transitional package called [esm](https://www.npmjs.com/package/esm). The package, in fact, CJS, but uses this package for sugars and as an experiment with early ESM syntax.\n\nv4 is a direct upgrade to standard [ESM](https://nodejs.org/api/esm.html) with the same functionality and modern dependencies.\n\nBoth versions provide [export maps](https://nodejs.org/api/packages.html#package-entry-points).\n\n# Install\n```\nnpm i console-ultimate\n```\n\n# Turn on\n\n```js\n/* replace console instance globally */\nimport 'console-ultimate'\n\n/* get instance with default options AND replace globally */\nimport console from 'console-ultimate'\n\n/* get instance with default options (NOT replacing global instance) */\nimport console from 'console-ultimate/default'\n\n/* upgrade global instance with certain options */\nimport upgrade from 'console-ultimate/upgrade'\n\n/* upgrade */\nupgrade({ stdout })\n\n/*\n  instantiate your own custom instance\n  via `Console`, a Node-compatible constructor */\nimport Console from 'console-ultimate/Console'\n\nlet console = Console({ stdout })\n\nconsole.log(console)\n```\n\n# Things to be done\n* Better `thru` and `partial`.\n* Retrieve (get formatted string instead of writing to stream).\n* Advanced dir flags (like `hidden` \u0026 `noinspect`). (https://nodejs.org/api/util.html#util_util_inspect_object_options)\n* Table props.\n* `ignoreErrors`\n* `debug`-like API with sub-instantiating, creating sybsystem-wise consoles.\n* enable/disable instance.\n* Proxy console.\n* Browser-friendly.\n* node-inspector integration.\n\n# License\nISC, © 2025 Strider.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreetstrider%2Fconsole-ultimate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstreetstrider%2Fconsole-ultimate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreetstrider%2Fconsole-ultimate/lists"}