{"id":17491797,"url":"https://github.com/knightedcodemonkey/dump","last_synced_at":"2026-04-29T09:32:30.156Z","repository":{"id":182108935,"uuid":"667946503","full_name":"knightedcodemonkey/dump","owner":"knightedcodemonkey","description":"Wrapper around util.inspect to dump your nested objects to the console.","archived":false,"fork":false,"pushed_at":"2023-07-25T05:09:23.000Z","size":60,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-16T20:15:39.596Z","etag":null,"topics":["console","inspect","nodejs","wrapper"],"latest_commit_sha":null,"homepage":"","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/knightedcodemonkey.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-18T16:53:44.000Z","updated_at":"2023-07-18T19:13:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"fcb82800-4911-4927-b27d-0f88524ac703","html_url":"https://github.com/knightedcodemonkey/dump","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"eb947531e1bf7c36c1c3e7844e0fff0896a17084"},"previous_names":["knightedcodemonkey/dump"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/knightedcodemonkey/dump","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knightedcodemonkey%2Fdump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knightedcodemonkey%2Fdump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knightedcodemonkey%2Fdump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knightedcodemonkey%2Fdump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knightedcodemonkey","download_url":"https://codeload.github.com/knightedcodemonkey/dump/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knightedcodemonkey%2Fdump/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32419923,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["console","inspect","nodejs","wrapper"],"created_at":"2024-10-19T08:05:09.503Z","updated_at":"2026-04-29T09:32:30.136Z","avatar_url":"https://github.com/knightedcodemonkey.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [`@knighted/dump`](https://www.npmjs.com/package/@knighted/dump)\n\n![CI](https://github.com/knightedcodemonkey/dump/actions/workflows/ci.yml/badge.svg)\n[![NPM version](https://img.shields.io/npm/v/@knighted/dump.svg)](https://www.npmjs.com/package/@knighted/dump)\n\nWrapper around Node's `util.inpsect` to dump your nested objects to the console.\n\n## Example\n\n```js\nimport { dump } from '@knighted/dump'\n\nconst nested = {\n  knighted: {\n    code: {\n      monkey: {\n        bananas: true\n      }\n    }\n  }\n}\n\ndump({\n  obj: nested,\n  prefix: 'prefix',\n  opts: { depth: 3, colors: true }\n})\n```\n\nOutput:\n\n```\nprefix {\n  knighted: { code: { monkey: { bananas: true } } }\n}\n```\n\nOr simply use `dump.log` if not passing `opts`.\n\n```js\ndump.log(nested, 'prefix') // Same output as above\n```\n\n## Options\n\n* `obj` The object to dump\n* `prefix` Helpful hint prefixed to the dump\n* `opts` Same as https://nodejs.org/api/util.html#utilinspectobject-options\n\n`dump.log(obj)` uses `until.inspect(obj, false, null, true)`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknightedcodemonkey%2Fdump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknightedcodemonkey%2Fdump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknightedcodemonkey%2Fdump/lists"}