{"id":13567930,"url":"https://github.com/soc221b/object-visualizer","last_synced_at":"2025-04-13T02:11:51.996Z","repository":{"id":37791474,"uuid":"279084937","full_name":"soc221b/object-visualizer","owner":"soc221b","description":"Vue JSON inspector with Chrome-like theme.","archived":false,"fork":false,"pushed_at":"2024-10-16T00:09:59.000Z","size":6909,"stargazers_count":220,"open_issues_count":16,"forks_count":11,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-17T11:27:52.214Z","etag":null,"topics":["inspector","json","tree-view","visualizer","vue"],"latest_commit_sha":null,"homepage":"https://codesandbox.io/s/object-visualizer-5bji4","language":"Vue","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/soc221b.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2020-07-12T14:46:53.000Z","updated_at":"2024-08-20T01:32:32.000Z","dependencies_parsed_at":"2023-11-29T01:27:26.911Z","dependency_job_id":"d5b8b1c9-5dcb-4b3b-bf58-7a9a44558ba5","html_url":"https://github.com/soc221b/object-visualizer","commit_stats":{"total_commits":288,"total_committers":8,"mean_commits":36.0,"dds":0.7048611111111112,"last_synced_commit":"d320201e78e15208f0e26b40950bd0bd077bedc4"},"previous_names":["soc221b/object-visualizer","iendeavor/object-visualizer"],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soc221b%2Fobject-visualizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soc221b%2Fobject-visualizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soc221b%2Fobject-visualizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soc221b%2Fobject-visualizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soc221b","download_url":"https://codeload.github.com/soc221b/object-visualizer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248654089,"owners_count":21140236,"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":["inspector","json","tree-view","visualizer","vue"],"created_at":"2024-08-01T13:02:49.827Z","updated_at":"2025-04-13T02:11:51.975Z","avatar_url":"https://github.com/soc221b.png","language":"Vue","readme":"# Object Visualizer\n\nA vue component to visualize the JSON object to the DOM.\n\n## Live Demo\n\n[![As same as Chrome's object tree](./dark.png)](https://codesandbox.io/s/object-visualizer-5bji4)\n[![As same as Chrome's object tree](./light.png)](https://codesandbox.io/s/object-visualizer-5bji4)\n\n## Feature\n\n- `getKeys`: customize visible keys in any nested data\n- `expandOnCreatedAndUpdated`: expand or collapse after created or updated\n\n  \u003e Starting from v4.0.0, this feature is only available for objects due to performance issues.\n\n  - Recursive expand `Meta+Click`\n  - Recursive collapse `Meta+Shift+Click`\n\n- Light/Dark mode\n\n## Installation\n\n### NPM\n\n```\n$ npm install object-visualizer\n```\n\n```ts\nimport { ObjectVisualizer } from 'object-visualizer'\nimport 'object-visualizer/dist/index.min.css'\n```\n\n### CDN\n\n```html\n\u003cscript src=\"https://unpkg.com/object-visualizer\"\u003e\u003c/script\u003e\n\u003clink\n  type=\"text/css\"\n  rel=\"stylesheet\"\n  href=\"https://unpkg.com/object-visualizer/dist/index.min.css\"\n/\u003e\n\n\u003cscript\u003e\n  const { ObjectVisualizer } = window.ObjectVisualizer\n\u003c/script\u003e\n```\n\n## Usage\n\n```vue\n\u003cObjectVisualizer\n  :data=\"['foo', 'bar']\"\n  rootName=\"Data\"\n  :expandOnCreatedAndUpdated=\"(path) =\u003e false\"\n  :getKeys=\"(object, path) =\u003e Object.keys(object)\"\n\u003e\u003c/ObjectVisualizer\u003e\n```\n\n## About\n\n\u003ca href=\"https://www.buymeacoffee.com/iendeavor\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/default-orange.png\" alt=\"Buy Me A Coffee\" height=\"41\" width=\"174\"\u003e\u003c/a\u003e\n\nDistributed under the MIT license. See LICENSE for more information.\n\nhttps://github.com/iendeavor\n","funding_links":["https://www.buymeacoffee.com/iendeavor"],"categories":["Vue"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoc221b%2Fobject-visualizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoc221b%2Fobject-visualizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoc221b%2Fobject-visualizer/lists"}